Update models-config.providers.ts
This commit is contained in:
parent
25d170fa4f
commit
1ca06f7590
@ -360,7 +360,7 @@ async function buildOllamaProvider(): Promise<ProviderConfig> {
|
||||
};
|
||||
}
|
||||
|
||||
async function buildTogetherProvider(_apiKey?: string): Promise<ProviderConfig> {
|
||||
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,
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user