feat(ai): add Z.AI GLM-5.3 - #883
Open
DomineYH wants to merge 2 commits into
Open
Conversation
Author
|
All PR checks and focused local verification are green. This contributor account cannot enable auto-merge or merge into the upstream repository; maintainer merge is required. |
# Conflicts: # packages/ai/src/providers/data/.manifest.json # packages/coding-agent/changes.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
glm-5.3to the global and China Z.AI Coding Plan catalogs with a stable fallback until models.dev publishes itOfficial references:
Verification
npx vitest --run test/openai-completions-tool-choice.test.ts— 49 passednpx vitest --run test/model-resolver.test.ts— 47 passednpm run check— passednpm run check:model-data— passed--list-models glm-5.3listedzai/glm-5.3andzai-coding-cn/glm-5.3with 1M context and 131.1K outputQA note
The focused real CLI model-list smoke passed. Broader
rpc-drive,cli-smoke, andmock-loopself-tests exceeded their fixed 45s/60s source-startup deadlines on this WSL workstation; they made no provider requests and preserved the real auth file.Summary by cubic
Adds GLM-5.3 to the Z.AI Coding Plan catalogs and makes it the default for
zaiandzai-coding-cn. Previously GLM-5.2 was default; GLM-5.3 uses Z.AI’s 1M context and 128K output and includes a stable fallback untilmodels.devlists it.glm-5.3metadata (text-only, tool_call, reasoning) thatmodels.devoverrides when available; maps thinking levels toreasoning_effort(off/minimal/low→low, medium/high→high, xhigh/max→max); keeps tool streaming andmax_tokens.aiand updates tests inai; sets provider defaults and tests incoding-agenttoglm-5.3.glm-5.2default.Written for commit 8e77681. Summary will update on new commits.