chore(opencode): swap glm-5.2:cloud → MiniMax-M2.7

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>
This commit is contained in:
Marcos
2026-08-22 03:45:09 +00:00
parent d38e1c8693
commit 4c06a9ab3c
+5 -5
View File
@@ -1,19 +1,19 @@
{
"$schema": "https://opencode.ai/config.json",
"default_agent": "pragent",
"model": "headroom/glm-5.2:cloud",
"small_model": "headroom/glm-5.2:cloud",
"model": "headroom/MiniMax-M2.7",
"small_model": "headroom/MiniMax-M2.7",
"provider": {
"headroom": {
"npm": "@ai-sdk/anthropic",
"name": "Headroom GLM",
"name": "Headroom (MiniMax passthrough)",
"options": {
"baseURL": "http://model-proxy.internal:8789/v1",
"apiKey": "ollama"
},
"models": {
"glm-5.2:cloud": {
"name": "GLM 5.2 Cloud",
"MiniMax-M2.7": {
"name": "MiniMax M2.7",
"limit": {
"context": 200000,
"output": 16000