phenixcode
phenixcode copied to clipboard
feature request: z.ai glm support
glm coding plan support https://api.z.ai/api/coding/paas/v4 thanks!
This API uses OpenAI-compatible format, so it should work out of the box.
Just configure your settings.json with:
"api": {
"api_url": "https://api.z.ai/api/paas/v4/chat/completions",
"api_key": "${YOUR_API_KEY}",
"model": "glm-4.6"
}