feat: add opencode config + sync.py (LiteLLM + MCP gateway)
This commit is contained in:
@@ -0,0 +1,68 @@
|
||||
{
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
|
||||
"model": "openai/qwen3-coder-30b-a3b-instruct",
|
||||
"small_model": "openai/gemini-2.5-flash-lite",
|
||||
|
||||
"provider": {
|
||||
"openai": {
|
||||
"name": "nuclide-litellm",
|
||||
"options": {
|
||||
"apiKey": "{env:OPENAI_API_KEY}",
|
||||
"baseURL": "{env:OPENAI_BASE_URL}",
|
||||
"timeout": 600000,
|
||||
"chunkTimeout": 60000
|
||||
}
|
||||
},
|
||||
"anthropic": {
|
||||
"options": {
|
||||
"apiKey": "{env:ANTHROPIC_API_KEY}",
|
||||
"baseURL": "{env:ANTHROPIC_BASE_URL}",
|
||||
"timeout": 600000
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"mcp": {
|
||||
"nuclide-dev": {
|
||||
"type": "remote",
|
||||
"url": "https://mcp.nuclide.systems/group/dev/mcp",
|
||||
"enabled": true,
|
||||
"headers": {
|
||||
"Authorization": "Bearer {env:MCP_GATEWAY_TOKEN}"
|
||||
}
|
||||
},
|
||||
"nuclide-research": {
|
||||
"type": "remote",
|
||||
"url": "https://mcp.nuclide.systems/group/research/mcp",
|
||||
"enabled": true,
|
||||
"headers": {
|
||||
"Authorization": "Bearer {env:MCP_GATEWAY_TOKEN}"
|
||||
}
|
||||
},
|
||||
"nuclide-personal": {
|
||||
"type": "remote",
|
||||
"url": "https://mcp.nuclide.systems/group/personal/mcp",
|
||||
"enabled": true,
|
||||
"headers": {
|
||||
"Authorization": "Bearer {env:MCP_GATEWAY_TOKEN}"
|
||||
}
|
||||
},
|
||||
"nuclide-image": {
|
||||
"type": "remote",
|
||||
"url": "https://mcp.nuclide.systems/group/image/mcp",
|
||||
"enabled": true,
|
||||
"headers": {
|
||||
"Authorization": "Bearer {env:MCP_GATEWAY_TOKEN}"
|
||||
}
|
||||
},
|
||||
"nuclide-storage": {
|
||||
"type": "remote",
|
||||
"url": "https://mcp.nuclide.systems/group/storage/mcp",
|
||||
"enabled": true,
|
||||
"headers": {
|
||||
"Authorization": "Bearer {env:MCP_GATEWAY_TOKEN}"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user