mirror of
https://github.com/IgorWarzocha/Opencode-Workflows.git
synced 2026-09-14 16:22:53 +08:00
7756278a18
Reorder permission blocks in agents to ensure the wildcard denial is listed first, which is required for correct skill evaluation. Update the permissions-update command documentation to clarify this requirement. Remove the gpt-oauth-prompt-enhancer plugin and disable the gpt-oss-120b-medium model in the proxy configuration.
247 lines
6.4 KiB
JSON
247 lines
6.4 KiB
JSON
{
|
|
"$schema": "https://opencode.ai/config.json",
|
|
"provider": {
|
|
"zai-coding-plan": {
|
|
"whitelist": ["glm-4.7", "glm-4.6v", "glm-4.6v-flash"],
|
|
"npm": "@ai-sdk/anthropic",
|
|
"options": {
|
|
"baseURL": "https://api.z.ai/api/anthropic/v1"
|
|
},
|
|
"models": {
|
|
"glm-4.7": {
|
|
"reasoning": true,
|
|
"interleaved": true,
|
|
"limit": {
|
|
"context": 200000,
|
|
"output": 128000
|
|
},
|
|
"options": {
|
|
"temperature": 1,
|
|
"top_k": 40,
|
|
"top_p": 0.95,
|
|
"maxOutputTokens": 128000,
|
|
"thinking": {
|
|
"type": "enabled",
|
|
"budgetTokens": 64000
|
|
}
|
|
},
|
|
"variants": {
|
|
"none": {
|
|
"thinking": {
|
|
"type": "disabled"
|
|
}
|
|
},
|
|
"low": {
|
|
"thinking": {
|
|
"type": "enabled",
|
|
"budgetTokens": 8000
|
|
}
|
|
},
|
|
"medium": {
|
|
"thinking": {
|
|
"type": "enabled",
|
|
"budgetTokens": 24000
|
|
}
|
|
},
|
|
"high": {
|
|
"thinking": {
|
|
"type": "enabled",
|
|
"budgetTokens": 48000
|
|
}
|
|
},
|
|
"max": {
|
|
"thinking": {
|
|
"type": "enabled",
|
|
"budgetTokens": 64000
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"glm-4.6v": {
|
|
"reasoning": true,
|
|
"interleaved": true,
|
|
"options": {
|
|
"reasoningEffort": "high",
|
|
"temperature": 0.8,
|
|
"top_p": 0.6,
|
|
"top_k": 2,
|
|
"repetition_penalty": 1.1,
|
|
"maxOutputTokens": 16000,
|
|
"thinking": {
|
|
"type": "enabled",
|
|
"budgetTokens": 16000
|
|
}
|
|
}
|
|
},
|
|
"glm-4.6v-flash": {
|
|
"reasoning": true,
|
|
"interleaved": true,
|
|
"options": {
|
|
"reasoningEffort": "high",
|
|
"temperature": 0.8,
|
|
"top_p": 0.6,
|
|
"top_k": 2,
|
|
"repetition_penalty": 1.1,
|
|
"maxOutputTokens": 16000,
|
|
"thinking": {
|
|
"type": "enabled",
|
|
"budgetTokens": 16000
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"local": {
|
|
"whitelist": [
|
|
"gemini_cli/gemini-3-pro",
|
|
"gemini_cli/gemini-3-flash",
|
|
"antigravity/gemini-3-pro",
|
|
"antigravity/gemini-3-flash",
|
|
"antigravity/claude-sonnet-4-5",
|
|
"antigravity/claude-opus-4-5"
|
|
//"antigravity/gpt-oss-120b-medium"
|
|
],
|
|
"npm": "@ai-sdk/openai-compatible",
|
|
"name": "Proxy",
|
|
"options": {
|
|
"baseURL": "http://localhost:8000/v1",
|
|
"apiKey": "VerysecretKey",
|
|
"timeout": 300000
|
|
},
|
|
"models": {
|
|
"gemini_cli/gemini-3-pro": {
|
|
"id": "gemini_cli/gemini-3-pro-preview",
|
|
"name": "Gemini 3 Pro (CLI)",
|
|
"limit": {
|
|
"context": 1048576,
|
|
"output": 64000
|
|
},
|
|
"reasoning": true,
|
|
"variants": {
|
|
"low": {},
|
|
"medium": {
|
|
"disabled": true
|
|
},
|
|
"high": {}
|
|
},
|
|
"modalities": {
|
|
"input": ["image", "text"],
|
|
"output": ["text"]
|
|
}
|
|
},
|
|
"gemini_cli/gemini-3-flash": {
|
|
"id": "gemini_cli/gemini-3-flash-preview",
|
|
"name": "Gemini 3 Flash (CLI)",
|
|
"limit": {
|
|
"context": 1048576,
|
|
"output": 64000
|
|
},
|
|
"reasoning": true,
|
|
"variants": {
|
|
"disable": {},
|
|
"low": {},
|
|
"medium": {},
|
|
"high": {}
|
|
},
|
|
"modalities": {
|
|
"input": ["image", "text"],
|
|
"output": ["text"]
|
|
}
|
|
},
|
|
"antigravity/gemini-3-pro": {
|
|
"id": "antigravity/gemini-3-pro-preview",
|
|
"name": "Gemini 3 Pro (Antigravity)",
|
|
"limit": {
|
|
"context": 1048576,
|
|
"output": 64000
|
|
},
|
|
"reasoning": true,
|
|
"variants": {
|
|
"low": {},
|
|
"medium": {
|
|
"disabled": true
|
|
},
|
|
"high": {}
|
|
},
|
|
"modalities": {
|
|
"input": ["image", "text"],
|
|
"output": ["text"]
|
|
}
|
|
},
|
|
"antigravity/gemini-3-flash": {
|
|
"id": "antigravity/gemini-3-flash",
|
|
"name": "Gemini 3 Flash (Antigravity)",
|
|
"limit": {
|
|
"context": 1048576,
|
|
"output": 64000
|
|
},
|
|
"reasoning": true,
|
|
"variants": {
|
|
"disable": {},
|
|
"low": {},
|
|
"medium": {},
|
|
"high": {}
|
|
},
|
|
"modalities": {
|
|
"input": ["image", "text"],
|
|
"output": ["text"]
|
|
}
|
|
},
|
|
"antigravity/claude-sonnet-4-5": {
|
|
"id": "antigravity/claude-sonnet-4-5",
|
|
"name": "Claude Sonnet 4.5 (Antigravity)",
|
|
"limit": {
|
|
"context": 200000,
|
|
"output": 32000
|
|
},
|
|
"reasoning": true,
|
|
"variants": {
|
|
"low": {},
|
|
"medium": {},
|
|
"high": {}
|
|
},
|
|
"modalities": {
|
|
"input": ["image", "text"],
|
|
"output": ["text"]
|
|
}
|
|
},
|
|
"antigravity/claude-opus-4-5": {
|
|
"id": "antigravity/claude-opus-4-5",
|
|
"name": "Claude Opus 4.5 (Antigravity)",
|
|
"limit": {
|
|
"context": 200000,
|
|
"output": 32000
|
|
},
|
|
"reasoning": true,
|
|
"variants": {
|
|
"low": {},
|
|
"medium": {},
|
|
"high": {}
|
|
},
|
|
"modalities": {
|
|
"input": ["image", "text"],
|
|
"output": ["text"]
|
|
}
|
|
}
|
|
// currently is looping endlessly and never stops
|
|
// "antigravity/gpt-oss-120b-medium": {
|
|
// "id": "antigravity/gpt-oss-120b-medium",
|
|
// "name": "GPT OSS 120B Medium (Antigravity)",
|
|
// "limit": {
|
|
// "context": 131072,
|
|
// "output": 131072
|
|
// },
|
|
// "reasoning": true,
|
|
// "variants": {
|
|
// "medium": {}
|
|
// },
|
|
// "modalities": {
|
|
// "input": ["text"],
|
|
// "output": ["text"]
|
|
// }
|
|
// }
|
|
}
|
|
}
|
|
}
|
|
}
|