docs: Z.AI GLM Coding Plan setup for Claude providers - #8581
docs: Z.AI GLM Coding Plan setup for Claude providers#8581FelipeMayerDev wants to merge 1 commit into
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — This PR adds a self-contained Z.AI setup section to an existing Claude provider guide and changes no executable code, configuration, authentication handling, or production behavior. Its impact is limited to rendered documentation and user-directed setup instructions. You can add or adjust custom eligibility rules. Learn more. |
|
Superseded by #8583 (combined PR). |
Adds a Z.AI section to the Claude providers guide, mirroring the existing OpenRouter walkthrough.
Z.AI's GLM Coding Plan exposes a Claude-compatible endpoint, so it is the same mechanism the guide already documents: a Claude provider instance with environment variables (
ANTHROPIC_BASE_URL=https://api.z.ai/api/anthropic,ANTHROPIC_AUTH_TOKEN,API_TIMEOUT_MS), plus optional GLM model-role mapping and common mistakes.Docs-only; no code.
Note
Low Risk
Documentation-only change with no runtime, auth, or data-handling impact.
Overview
Adds user documentation for routing Claude Code through Z.AI's GLM Coding Plan via a dedicated Claude provider (same pattern as the existing OpenRouter section).
The new section in
providers-claude.mdcovers provider settings (CLAUDE_CONFIG_DIR, display name), required env vars (ANTHROPIC_BASE_URL,ANTHROPIC_AUTH_TOKEN,API_TIMEOUT_MS), optional GLM model-role mappings,/statusverification, logout/isolation notes, and a common mistakes list with a link to Z.AI's upstream Claude Code guide.Reviewed by Cursor Bugbot for commit b3660c7. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Add Z.AI GLM Coding Plan setup guide to Claude provider docs
Adds a new 'I Want To Use Z.AI (GLM Coding Plan)' section to providers-claude.md. Covers environment variables (ANTHROPIC_BASE_URL, ANTHROPIC_AUTH_TOKEN, API_TIMEOUT_MS), separate Claude home directory setup, default model role mapping to GLM model IDs (glm-4.7 and glm-4.5-air), a common mistakes checklist, and a link to Z.AI's upstream guide.
Macroscope summarized b3660c7.