forked from agents/opencode
chore: 接入 LiteLLM 模型并更新轻量代理配置
This commit is contained in:
@@ -34,6 +34,34 @@
|
||||
"limit": { "context": 400000, "input": 272000, "output": 128000 }
|
||||
}
|
||||
}
|
||||
},
|
||||
"litellm": {
|
||||
"name": "LiteLLM",
|
||||
"npm": "@ai-sdk/openai-compatible",
|
||||
"options": {
|
||||
"baseURL": "{env:LITELLM_BASE_URL}/v1",
|
||||
"apiKey": "{env:LITELLM_API_KEY}"
|
||||
},
|
||||
"models": {
|
||||
"glm-5": {
|
||||
"name": "GLM-5",
|
||||
"reasoning": true,
|
||||
"modalities": { "input": ["text"], "output": ["text"] },
|
||||
"limit": { "context": 204800, "output": 131072 }
|
||||
},
|
||||
"kimi-k2.5": {
|
||||
"name": "Kimi K2.5",
|
||||
"reasoning": true,
|
||||
"modalities": { "input": ["text", "image", "video"], "output": ["text"] },
|
||||
"limit": { "context": 262144, "output": 262144 }
|
||||
},
|
||||
"minimax-m2.5": {
|
||||
"name": "MiniMax M2.5",
|
||||
"reasoning": true,
|
||||
"modalities": { "input": ["text"], "output": ["text"] },
|
||||
"limit": { "context": 204800, "output": 131072 }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user