Files
CODE_ASSISTANT/5_django_backend/opencode/opencode.json
T
lee-hyeon-cheolandClaude Fable 5.1 113d97c77c feat(backend): 이미지 요청만 vision 모델로 — OPENCODE_VISION_MODEL
로컬(OpenRouter)은 게이트웨이를 안 거쳐서 백엔드가 OpenCode prompt 에 model{providerID,modelID} 를 실어 분기.
기본 openrouter/google/gemma-4-31b-it(고객사 605 와 같은 모델). 텍스트는 기본 GLM 5.2.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-21 14:54:04 +09:00

23 lines
581 B
JSON

{
"$schema": "https://opencode.ai/config.json",
"provider": {
"openrouter": {
"options": { "apiKey": "{env:OPENROUTER_API_KEY}" },
"models": {
"z-ai/glm-5.2": { "name": "GLM 5.2 (OpenRouter)" },
"google/gemma-4-31b-it": { "name": "Gemma 4 31B (OpenRouter, vision)" }
}
}
},
"model": "openrouter/z-ai/glm-5.2",
"tools": { "question": false },
"mcp": {
"sap-icf": {
"type": "remote",
"url": "{env:SAP_MCP_URL}",
"headers": { "Authorization": "Bearer {env:SAP_MCP_KEY}" },
"enabled": false
}
}
}