feat(catalog): add Z.AI / Zhipu standard API and Coding Plan providers#361
Open
jimpablo wants to merge 9 commits into
Open
feat(catalog): add Z.AI / Zhipu standard API and Coding Plan providers#361jimpablo wants to merge 9 commits into
jimpablo wants to merge 9 commits into
Conversation
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.
Motivation
Zhipu / Z.AI only had a single Coding Plan-style entry. Split China and international, and standard API vs Coding Plan, so users can pick the endpoint that matches their key.
Changes
Adds four catalog providers (data only):
zaihttps://api.z.ai/api/paas/v4zai-coding-planhttps://api.z.ai/api/coding/paas/v4zhipuhttps://open.bigmodel.cn/api/paas/v4zhipu-coding-planhttps://open.bigmodel.cn/api/coding/paas/v4glm-4.5-air,glm-4.7,glm-5-turbo,glm-5.1,glm-5v-turbo,glm-5.2(default).thinkingFormat = "deepseek", includingxhigh); other models keep switch-onlyzaiformat.ZAI_API_KEY,ZAI_CODING_PLAN_API_KEY,ZHIPU_API_KEY,ZHIPU_CODING_PLAN_API_KEY.Checks
uv run pytest— 740 passeduv run ruff check ./ruff format --check .— cleanuv run mypy— cleanCatalog-only change; no Python or architectural changes.