Skip to content

Conversation

@AlexMikhalev
Copy link

Summary

  • Merged latest upstream changes from jeremychone/rust-genai
  • Consolidated duplicate Zai/ZAi adapters into single Zai adapter
  • Fixed adapter import paths and module exports

Changes Made

  • Resolved merge conflicts in Z.AI adapter implementation
  • Updated model routing logic for Z.AI models
  • Removed obsolete zhipu adapter references
  • Added missing cerebras and openrouter module exports
  • Preserved dual endpoint support for Z.AI coding plans

Testing

✅ Compilation successful
✅ Z.AI API integration verified with live tests
✅ Code quality checks passed (clippy, fmt)

🤖 Generated with terraphim.ai

pdylanross and others added 12 commits October 19, 2025 18:23
…eremychone#95)

- Rename zhipu adapter to zai adapter
- Implement namespace-based routing for regular vs coding endpoints
- Regular models: "glm-4.6" → credit-based API
- Coding models: "zai::glm-4.6" → subscription API
- Add comprehensive example c07-zai.rs
- Update adapter kind detection to handle "zai" namespace
- Remove dual-endpoint complexity from user-facing API

Co-authored-by: Rui Andrada <rui.andrada@imaginedone.com.br>
Resolved conflicts in Z.AI adapter implementation:
- Consolidated duplicate Zai/ZAi adapters into single Zai adapter
- Updated model routing logic for Z.AI models
- Removed obsolete zhipu adapter references
- Added cerebras module to adapters
- Preserved dual endpoint support for Z.AI coding plans

🤖 Generated with [terraphim.ai](https://terraphim.ai)

Co-Authored-By: Claude <noreply@anthropic.com>
- Fixed import paths for adapters after module reorganization
- Removed remaining duplicate ZAi adapter references
- Added missing openrouter module export
- Ensured consistent adapter import structure

🤖 Generated with [terraphim.ai](https://terraphim.ai)

Co-Authored-By: Claude <noreply@anthropic.com>
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.

6 participants