Skip to content

Conversation

@KrtinShet
Copy link

Update CLI authentication wizard to collect all required ZAI provider fields:

  • zaiApiKey: API authentication token (already collected)
  • zaiApiLine: API line selection (international_coding vs china_coding)
  • apiModelId: Model selection (glm-4.6, glm-4.5, etc.)

Changes:

  • Enhanced authWizard.ts to prompt for API line and model selection
  • Added ZAI constants file with CLI-specific configurations
  • Added comprehensive unit tests for new authentication flow
  • Created changeset documenting the fix

Resolves authentication errors: "zaiApiLine is required" and "apiModelId is required"

…#3228)

Update CLI authentication wizard to collect all required ZAI provider fields:
- zaiApiKey: API authentication token (already collected)
- zaiApiLine: API line selection (international_coding vs china_coding)
- apiModelId: Model selection (glm-4.6, glm-4.5, etc.)

Changes:
- Enhanced authWizard.ts to prompt for API line and model selection
- Added ZAI constants file with CLI-specific configurations
- Added comprehensive unit tests for new authentication flow
- Created changeset documenting the fix

Resolves authentication errors: "zaiApiLine is required" and "apiModelId is required"
@changeset-bot
Copy link

changeset-bot bot commented Oct 22, 2025

🦋 Changeset detected

Latest commit: ccc6f4d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@kilocode/cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

…ired provider fields, including zaiApiKey, zaiApiLine, and apiModelId. This resolves errors related to missing configuration during authentication.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants