forked from agents/opencode
68 lines
2.1 KiB
JSON
68 lines
2.1 KiB
JSON
{
|
|
"$schema": "https://opencode.ai/config.json",
|
|
"plugin": ["oh-my-opencode@latest"],
|
|
"autoupdate": false,
|
|
"model": "openai/gpt-5.4",
|
|
"small_model": "openai/gpt-5.4-mini",
|
|
"provider": {
|
|
"openai": {
|
|
"npm": "@ai-sdk/openai",
|
|
"options": {
|
|
"baseURL": "{env:LITELLM_BASE_URL}/v1",
|
|
"apiKey": "{env:LITELLM_API_KEY}"
|
|
},
|
|
"models": {
|
|
"gpt-5.4": {
|
|
"name": "GPT-5.4",
|
|
"reasoning": true,
|
|
"modalities": { "input": ["text", "image", "pdf"], "output": ["text"] },
|
|
"limit": { "context": 1050000, "input": 922000, "output": 128000 }
|
|
},
|
|
"gpt-5.3-codex": {
|
|
"name": "GPT-5.3-Codex",
|
|
"reasoning": true,
|
|
"modalities": { "input": ["text", "image", "pdf"], "output": ["text"] },
|
|
"limit": { "context": 400000, "input": 272000, "output": 128000 }
|
|
},
|
|
"gpt-5.4-mini": {
|
|
"name": "GPT-5.4 mini",
|
|
"reasoning": true,
|
|
"modalities": { "input": ["text", "image"], "output": ["text"] },
|
|
"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 }
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"experimental": {
|
|
"disable_paste_summary": true
|
|
}
|
|
}
|