Skip to content

Add missing providers and custom URL configuration to init wizard#427

Open
elcky wants to merge 1 commit intoRightNow-AI:mainfrom
elcky:feat/init-wizard-provider-fix
Open

Add missing providers and custom URL configuration to init wizard#427
elcky wants to merge 1 commit intoRightNow-AI:mainfrom
elcky:feat/init-wizard-provider-fix

Conversation

@elcky
Copy link

@elcky elcky commented Mar 8, 2026

This commit adds comprehensive provider support and custom URL configuration to the openfang init wizard, improving user experience for all supported LLM providers.

Changes:

  • Add 13 missing providers (lemonade, minimax, zhipu, zhipu_coding, zai, zai_coding, moonshot, qianfan, volcengine, volcengine_coding, bedrock, codex, claude-code)
  • Add CustomUrl wizard step for OpenAI-compatible providers
  • Implement URL validation with http/https scheme check
  • Persist custom URLs to config.toml [provider_urls] section
  • Update step count from 7 to 8
  • Fix default models: zhipu_coding uses glm-4.7, moonshot uses kimi-k2.5

Testing:

  • All 33 CLI unit tests pass
  • Zero clippy warnings
  • All formatting checks pass
  • Backward compatible (custom URL is optional)

Summary

Changes

Testing

  • cargo clippy --workspace --all-targets -- -D warnings passes
  • cargo test --workspace passes
  • Live integration tested (if applicable)

Security

  • No new unsafe code
  • No secrets or API keys in diff
  • User input validated at boundaries

This commit adds comprehensive provider support and custom URL configuration
to the openfang init wizard, improving user experience for all supported
LLM providers.

Changes:
- Add 13 missing providers (lemonade, minimax, zhipu, zhipu_coding, zai,
  zai_coding, moonshot, qianfan, volcengine, volcengine_coding, bedrock,
  codex, claude-code)
- Add CustomUrl wizard step for OpenAI-compatible providers
- Implement URL validation with http/https scheme check
- Persist custom URLs to config.toml [provider_urls] section
- Update step count from 7 to 8
- Fix default models: zhipu_coding uses glm-4.7, moonshot uses kimi-k2.5

Testing:
- All 33 CLI unit tests pass
- Zero clippy warnings
- All formatting checks pass
- Backward compatible (custom URL is optional)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

under-review PR is under review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants