mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-08 03:07:53 +00:00
adjust litellmDefaultModelId, remove console log
This commit is contained in:
parent
2328695101
commit
f0df05fe6f
2 changed files with 1 additions and 4 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue