chore: 精简 LiteLLM 模型配置并调整配置项顺序
This commit is contained in:
@@ -1,12 +1,9 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://opencode.ai/config.json",
|
"$schema": "https://opencode.ai/config.json",
|
||||||
|
"plugin": ["oh-my-opencode@latest"],
|
||||||
"autoupdate": false,
|
"autoupdate": false,
|
||||||
"model": "anthropic/claude-opus-4-6",
|
"model": "anthropic/claude-opus-4-6",
|
||||||
"small_model": "anthropic/claude-haiku-4-5",
|
"small_model": "anthropic/claude-haiku-4-5",
|
||||||
"experimental": {
|
|
||||||
"disable_paste_summary": true
|
|
||||||
},
|
|
||||||
"plugin": ["oh-my-opencode@latest"],
|
|
||||||
"provider": {
|
"provider": {
|
||||||
"anthropic": {
|
"anthropic": {
|
||||||
"npm": "@ai-sdk/anthropic",
|
"npm": "@ai-sdk/anthropic",
|
||||||
@@ -85,70 +82,34 @@
|
|||||||
"apiKey": "{env:LITELLM_API_KEY}"
|
"apiKey": "{env:LITELLM_API_KEY}"
|
||||||
},
|
},
|
||||||
"models": {
|
"models": {
|
||||||
// Grok
|
|
||||||
"grok-code-fast-1": {
|
"grok-code-fast-1": {
|
||||||
"name": "Grok Code Fast 1",
|
"name": "Grok Code Fast 1",
|
||||||
"reasoning": true,
|
"reasoning": true,
|
||||||
"modalities": { "input": ["text"], "output": ["text"] },
|
"modalities": { "input": ["text"], "output": ["text"] },
|
||||||
"limit": { "context": 256000, "output": 10000 }
|
"limit": { "context": 256000, "output": 10000 }
|
||||||
},
|
},
|
||||||
|
|
||||||
// GLM
|
|
||||||
"glm-5": {
|
"glm-5": {
|
||||||
"name": "GLM-5",
|
"name": "GLM-5",
|
||||||
"reasoning": true,
|
"reasoning": true,
|
||||||
"modalities": { "input": ["text"], "output": ["text"] },
|
"modalities": { "input": ["text"], "output": ["text"] },
|
||||||
"limit": { "context": 204800, "output": 131072 }
|
"limit": { "context": 204800, "output": 131072 }
|
||||||
},
|
},
|
||||||
"glm-4.7": {
|
|
||||||
"name": "GLM-4.7",
|
|
||||||
"reasoning": true,
|
|
||||||
"modalities": { "input": ["text"], "output": ["text"] },
|
|
||||||
"limit": { "context": 204800, "output": 131072 }
|
|
||||||
},
|
|
||||||
|
|
||||||
// Kimi
|
|
||||||
"kimi-k2.5": {
|
"kimi-k2.5": {
|
||||||
"name": "Kimi K2.5",
|
"name": "Kimi K2.5",
|
||||||
"reasoning": true,
|
"reasoning": true,
|
||||||
"modalities": { "input": ["text", "image", "video"], "output": ["text"] },
|
"modalities": { "input": ["text", "image", "video"], "output": ["text"] },
|
||||||
"limit": { "context": 262144, "output": 262144 }
|
"limit": { "context": 262144, "output": 262144 }
|
||||||
},
|
},
|
||||||
|
|
||||||
// MiniMax
|
|
||||||
"minimax-m2.5": {
|
"minimax-m2.5": {
|
||||||
"name": "MiniMax-M2.5",
|
"name": "MiniMax M2.5",
|
||||||
"reasoning": true,
|
"reasoning": true,
|
||||||
"modalities": { "input": ["text"], "output": ["text"] },
|
"modalities": { "input": ["text"], "output": ["text"] },
|
||||||
"limit": { "context": 204800, "output": 131072 }
|
"limit": { "context": 204800, "output": 131072 }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
"experimental": {
|
||||||
// Qwen
|
"disable_paste_summary": true
|
||||||
"qwen3.5-plus": {
|
|
||||||
"name": "Qwen3.5 Plus",
|
|
||||||
"reasoning": true,
|
|
||||||
"modalities": { "input": ["text", "image", "video"], "output": ["text"] },
|
|
||||||
"limit": { "context": 1000000, "output": 65536 }
|
|
||||||
},
|
|
||||||
"qwen3-max": {
|
|
||||||
"name": "Qwen3 Max",
|
|
||||||
"reasoning": false,
|
|
||||||
"modalities": { "input": ["text"], "output": ["text"] },
|
|
||||||
"limit": { "context": 262144, "output": 65536 }
|
|
||||||
},
|
|
||||||
"qwen3-coder-next": {
|
|
||||||
"name": "Qwen3 Coder Next",
|
|
||||||
"reasoning": false,
|
|
||||||
"modalities": { "input": ["text"], "output": ["text"] },
|
|
||||||
"limit": { "context": 262144, "output": 65536 }
|
|
||||||
},
|
|
||||||
"qwen3-coder-plus": {
|
|
||||||
"name": "Qwen3 Coder Plus",
|
|
||||||
"reasoning": false,
|
|
||||||
"modalities": { "input": ["text"], "output": ["text"] },
|
|
||||||
"limit": { "context": 1000000, "output": 65536 }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user