Z.ai GLM 4.7 configuration #2729
Closed
carlos-chierici
started this conversation in
General
Replies: 1 comment
-
|
This configuration worked for me: { The ZAI_API_KEY was defined in the Wave Config section "Secrets". |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How can we configure Z.ai GLM 4.7 in Wave?
Z.ai provides this page with instructions to configure several tools (Wave not included):
https://docs.z.ai/devpack/overview
The Z.ai endpoint is this:
https://api.z.ai/api/coding/paas/v4/
But I don't now how to configure the several parameters required by waveai.json. I triyed this configuration without success:
{
"glm-4.7": {
"display:name": "glm-4.7",
"display:order": 1,
"display:icon": "microchip",
"display:description": "Z.ai GLM 4.7",
"ai:apitype": "openai-chat",
"ai:model": "glm-4.7",
"ai:thinkinglevel": "medium",
"ai:endpoint": "https://api.z.ai/api/paas/v4/chat/completions",
"ai:apitoken": "",
}
}
I don't know what to use for:
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions