LocalAI/client/opencode.json
2026-10-15 00:01:26 +02:00

37 lines
1.0 KiB
JSON

{
"$schema": "https://opencode.ai/config.json",
"model": "localai/qwen3.5-35b-a3b",
"small_model": "localai/qwen3.5-35b-a3b",
"share": "disabled",
"autoupdate": false,
"disabled_providers": ["opencode", "anthropic", "openai", "google", "ollama"],
"provider": {
"localai": {
"name": "LocalAI (alegab-pc)",
"npm": "@ai-sdk/openai-compatible",
"options": {
"baseURL": "http://{env:LOCALAI_HOST}:8800/v1",
"apiKey": "{env:LOCALAI_API_KEY}",
"timeout": 1800000
},
"models": {
"qwen3.5-35b-a3b": {
"name": "Qwen3.5 35B-A3B",
"tool_call": true,
"limit": { "context": 65536, "output": 16384 }
},
"glm-4.7-flash": {
"name": "GLM-4.7 Flash",
"tool_call": true,
"limit": { "context": 65536, "output": 16384 }
},
"qwen3.5-9b": {
"name": "Qwen3.5 9B (schnell)",
"tool_call": true,
"limit": { "context": 32768, "output": 8192 }
}
}
}
}
}