mirror of
https://github.com/IgorWarzocha/Opencode-Workflows.git
synced 2026-09-14 16:22:53 +08:00
63 lines
1.4 KiB
JSON
63 lines
1.4 KiB
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
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|