{ "$schema": "https://opencode.ai/config.json", "provider": { "lmstudio": { "npm": "@ai-sdk/openai-compatible", "name": "LM Studio (Local)", "options": { "baseURL": "http://127.0.0.1:1234/v1" }, "models": { "qwen3-coder-30b": { "name": "Qwen3-Coder-30B (Local)", "tools": true, "limit": { "context": 24000, "output": 4000 }, "options": { "temperature": 0.1, "topP": 0.8, "minP": 0.01, "repetitionPenalty": 1.05, "frequencyPenalty": 0, "presencePenalty": 0 } }, "gpt-oss-20b": { "name": "GPT-OSS-20B (Local)", "tools": true, "limit": { "context": 16000, "output": 4000 }, "options": { "temperature": 0.4, "topP": 0.9, "minP": 0.05, "repetitionPenalty": 1.05, "frequencyPenalty": 0, "presencePenalty": 0 } } } } }, "model": "lmstudio/qwen3-coder-30b", "agents": { "build": { "mode": "primary", "description": "Main build agent for code generation and fixes" } } }