adjust litellmDefaultModelId, remove console log

This commit is contained in:
slytechnical 2025-05-16 16:35:48 -05:00
parent 2328695101
commit f0df05fe6f
2 changed files with 1 additions and 4 deletions

View file

@ -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.

View file

@ -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,