mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-24 11:14:23 +01:00
50 lines
1.0 KiB
JSON
50 lines
1.0 KiB
JSON
{
|
|
"$schema": "https://opencode.ai/config.json",
|
|
"provider": {
|
|
"openrouter": {
|
|
"models": {
|
|
"moonshotai/kimi-k2": {
|
|
"options": {
|
|
"provider": {
|
|
"order": ["baseten"],
|
|
"allow_fallbacks": false
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"huggingface": {
|
|
"models": {
|
|
"Qwen/Qwen3-235B-A22B-Instruct-2507:fireworks-ai": {}
|
|
}
|
|
},
|
|
"local": {
|
|
"npm": "@ai-sdk/openai-compatible",
|
|
"name": "Local",
|
|
"options": {
|
|
"baseURL": "http://127.0.0.1:1234/v1",
|
|
"includeUsage": true
|
|
},
|
|
"models": {
|
|
"qwen/qwen3-coder-30b": {
|
|
"name": "Qwen-Coder 30B",
|
|
"limit": {
|
|
"context": 262144,
|
|
"output": 66536
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"mcp": {
|
|
"context7": {
|
|
"type": "remote",
|
|
"url": "https://mcp.context7.com/sse"
|
|
},
|
|
"weather": {
|
|
"type": "local",
|
|
"command": ["opencode", "x", "@h1deya/mcp-server-weather"]
|
|
}
|
|
}
|
|
}
|