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

27 lines
764 B
Cheetah

{
"$schema": "https://opencode.ai/config.json",
"disabled_providers": ["opencode", "anthropic", "openrouter", "openai", "google"],
"provider": {
"gateway": {
"npm": "@ai-sdk/openai-compatible",
"name": "FabriX",
"options": {
"baseURL": "http://127.0.0.1:${BACKEND_PORT}/api/ito",
"apiKey": "${AAF_GATEWAY_KEY}"
},
"models": ${AAF_FABRIX_MODELS_JSON}
}
},
"model": "gateway/${AAF_FABRIX_DEFAULT_MODEL}",
"tools": { "question": false },
"permission": { "external_directory": "allow" },
"mcp": {
"sap-icf": {
"type": "remote",
"url": "http://127.0.0.1:${MCP_PORT}/mcp",
"headers": { "Authorization": "Bearer ${MCP_API_KEY}" },
"enabled": ${SAP_MCP_ENABLED}
}
}
}