4c06a9ab3c
headroom-hub 8789 was repointed to api.minimax.io/anthropic. glm-5.2:cloud is no longer a registered model there. Co-Authored-By: Claude <noreply@anthropic.com>
44 lines
977 B
JSON
44 lines
977 B
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
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
}
|