This repository was archived by the owner on May 15, 2026. It is now read-only.
Add Z.ai coding plan support - #8003
Merged
Merged
Conversation
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Adds support for Z.ai's coding plan subscription tiers (International and China).
Pulled from downstream PR Kilo-Org/kilocode#2402. Thanks @chrarnoldus.
Important
Add support for Z.ai's new coding plan subscription tiers, updating schemas, configurations, and tests to handle international and China options.
international_coding,china_coding) inprovider-settings.tsandzai.ts.ZAiHandlerinzai.tsto usezaiApiLineConfigsfor determining base URL and region.international_codingifzaiApiLineis not specified.zaiApiLineSchemaandzaiApiLineConfigsinprovider-settings.tsto manage Z.ai API lines.zaiApiLinehandling inZAi.tsxto reflect new subscription tiers.zai.spec.tsto cover new subscription tiers and default behavior.This description was created by
for 40d6155. You can customize this summary. It will automatically update as commits are pushed.