Files
CODE_ASSISTANT/5_django_backend/opencode/opencode.openrouter.json.tmpl
T

24 lines
706 B
Cheetah

{
"$schema": "https://opencode.ai/config.json",
"provider": {
"openrouter": {
"options": { "apiKey": "{env:OPENROUTER_API_KEY}" },
"models": {
"z-ai/glm-5.2": { "name": "GLM 5.2" },
"google/gemma-4-31b-it": { "name": "Gemma4", "attachment": true, "modalities": { "input": ["text", "image"], "output": ["text"] } }
}
}
},
"model": "openrouter/z-ai/glm-5.2",
"tools": { "question": false },
"permission": { "external_directory": "allow" },
"mcp": {
"sap-icf": {
"type": "remote",
"url": "http://${MCP_HOST}:${MCP_PORT}/mcp",
"headers": { "Authorization": "Bearer ${MCP_API_KEY}" },
"enabled": ${SAP_MCP_ENABLED}
}
}
}