Commit daa4eb9
HEXA_E
feat: add Z.ai GLM Coding Plan as built-in provider
Add native support for Z.ai's GLM Coding Plan subscription service,
enabling users to use GLM-5.1, GLM-5-Turbo, GLM-4.7, and GLM-4.5-Air
models directly from the onboarding UI.
Changes:
- Add 'zai' to SUPPORTED_ONBOARDING_PROVIDERS
- Add zai entry to BUILTIN_PROVIDERS (wire: anthropic)
- Add zai entry to PROVIDER_SHORTLIST with key help URL
- Add zai-glm preset to PROXY_PRESETS
Z.ai uses an Anthropic-compatible API endpoint
(https://api.z.ai/api/anthropic) designed for agentic coding tools,
matching the same integration pattern used by Claude Code.1 parent b94d715 commit daa4eb9
2 files changed
Lines changed: 32 additions & 0 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
294 | 295 | | |
295 | 296 | | |
296 | 297 | | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
297 | 315 | | |
298 | 316 | | |
299 | 317 | | |
| |||
514 | 532 | | |
515 | 533 | | |
516 | 534 | | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
517 | 542 | | |
518 | 543 | | |
519 | 544 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
62 | 69 | | |
63 | 70 | | |
64 | 71 | | |
| |||
0 commit comments