From 1ca06f759078e679a9871ca8f6f8953f37bbfb74 Mon Sep 17 00:00:00 2001 From: Riccardo Giorato Date: Tue, 27 Jan 2026 16:32:32 +0100 Subject: [PATCH] Update models-config.providers.ts --- src/agents/models-config.providers.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/agents/models-config.providers.ts b/src/agents/models-config.providers.ts index ec3b96bd9..36f05f420 100644 --- a/src/agents/models-config.providers.ts +++ b/src/agents/models-config.providers.ts @@ -360,7 +360,7 @@ async function buildOllamaProvider(): Promise { }; } -async function buildTogetherProvider(_apiKey?: string): Promise { +function buildTogetherProvider(): ProviderConfig { // Always use static catalog instead of dynamic discovery // This prevents timeout issues with the Together AI API const models = TOGETHER_MODEL_CATALOG; @@ -439,7 +439,7 @@ export async function resolveImplicitProviders(params: { resolveApiKeyFromProfiles({ provider: "together", store: authStore }); if (togetherKey) { providers.together = { - ...(await buildTogetherProvider(togetherKey)), + ...buildTogetherProvider(), apiKey: togetherKey, }; }