Update models-config.providers.ts

This commit is contained in:
Riccardo Giorato 2026-01-27 16:35:16 +01:00
parent 95939daa20
commit 156ccddf8e

View File

@ -361,14 +361,10 @@ async function buildOllamaProvider(): 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;
return {
baseUrl: TOGETHER_BASE_URL,
api: "openai-completions",
models,
models: TOGETHER_MODEL_CATALOG,
};
}