diff --git a/src/api/providers/fetchers/modelCache.ts b/src/api/providers/fetchers/modelCache.ts index 9758f490a9..4cb991e7d1 100644 --- a/src/api/providers/fetchers/modelCache.ts +++ b/src/api/providers/fetchers/modelCache.ts @@ -62,9 +62,6 @@ export const getModels = async ( fetchedModels = await getUnboundModels() break case "litellm": - // getLiteLLMModels now throws on error. - // It needs baseUrl. apiKey is optional for the protocol but might be needed by the server. - console.log("litellm1212", baseUrl, apiKey) if (!baseUrl || !apiKey) { // This case should ideally be handled by the caller if baseUrl is strictly required. // However, for robustness, if called without baseUrl for litellm, it would fail in getLiteLLMModels or here. diff --git a/src/shared/api.ts b/src/shared/api.ts index afe994fbf7..25d163c657 100644 --- a/src/shared/api.ts +++ b/src/shared/api.ts @@ -1128,7 +1128,7 @@ export const unboundDefaultModelInfo: ModelInfo = { // LiteLLM // https://docs.litellm.ai/ -export const litellmDefaultModelId = "anthropic/claude-3-7-sonnet-20250219" +export const litellmDefaultModelId = "claude-3-7-sonnet-20250219" export const litellmDefaultModelInfo: ModelInfo = { maxTokens: 8192, contextWindow: 200_000,