74 lines
1.8 KiB
JSON
74 lines
1.8 KiB
JSON
{
|
|
"$schema": "https://opencode.ai/config.json",
|
|
"default_agent": "pragent",
|
|
"model": "headroom/MiniMax-M2.7",
|
|
"small_model": "headroom/MiniMax-M2.7",
|
|
"provider": {
|
|
"headroom": {
|
|
"npm": "@ai-sdk/anthropic",
|
|
"name": "Headroom (MiniMax passthrough)",
|
|
"options": {
|
|
"baseURL": "http://model-proxy.internal:8789/v1",
|
|
"apiKey": "ollama"
|
|
},
|
|
"models": {
|
|
"MiniMax-M2.7": {
|
|
"name": "MiniMax M2.7",
|
|
"limit": {
|
|
"context": 200000,
|
|
"output": 16000
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"vllm-qwen38": {
|
|
"npm": "@ai-sdk/openai-compatible",
|
|
"name": "Qwen3.8-27B vLLM (RTX 3090, MTP spec-decode)",
|
|
"options": {
|
|
"baseURL": "http://192.168.1.79:18020/v1",
|
|
"apiKey": "PLACEHOLDER_REPLACED_AT_RUNTIME",
|
|
"timeout": 300000,
|
|
"chunkTimeout": 30000
|
|
},
|
|
"models": {
|
|
"qwen3.8-27b": {
|
|
"name": "Qwen3.8-27B (vLLM, MTP, 150k ctx)",
|
|
"tools": true,
|
|
"thinking": true,
|
|
"attachments": false,
|
|
"limit": {
|
|
"context": 150000,
|
|
"output": 8192
|
|
},
|
|
"options": {
|
|
"temperature": 0.3,
|
|
"topP": 0.8,
|
|
"topK": 20,
|
|
"repetitionPenalty": 1.05,
|
|
"frequencyPenalty": 0,
|
|
"presencePenalty": 0
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"lsp": {},
|
|
"permission": {
|
|
"*": "allow",
|
|
"edit": "deny",
|
|
"write": "deny",
|
|
"apply_patch": "deny",
|
|
"bash": {
|
|
"*": "allow",
|
|
"rm -rf *": "deny",
|
|
"rm -fr *": "deny",
|
|
"git push *": "deny",
|
|
"git commit *": "deny",
|
|
"git reset --hard*": "deny",
|
|
"sudo *": "deny"
|
|
},
|
|
"external_directory": "allow",
|
|
"doom_loop": "deny"
|
|
}
|
|
}
|