Skip to content

feat: set z-ai as preferred provider for z-ai models#195

Merged
chrarnoldus merged 2 commits intomainfrom
zai-preferred-provider
Feb 15, 2026
Merged

feat: set z-ai as preferred provider for z-ai models#195
chrarnoldus merged 2 commits intomainfrom
zai-preferred-provider

Conversation

@kiloconnect
Copy link
Contributor

@kiloconnect kiloconnect bot commented Feb 14, 2026

Adds z-ai as the preferred OpenRouter inference provider for z-ai models (those starting with z-ai/), following the same pattern used for Mistral, Minimax, Moonshot, and Anthropic models in getPreferredProvider.

This ensures that when a user requests a z-ai model, the request is preferentially routed to the z-ai inference provider on OpenRouter.


Built for Christiaan by Kilo for Slack

@kiloconnect
Copy link
Contributor Author

kiloconnect bot commented Feb 14, 2026

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (1 files)
  • src/lib/providers/index.ts

@chrarnoldus chrarnoldus marked this pull request as draft February 15, 2026 12:13
@chrarnoldus chrarnoldus marked this pull request as ready for review February 15, 2026 14:16
@sbreitenother sbreitenother self-requested a review February 15, 2026 14:18
@chrarnoldus chrarnoldus merged commit 4f9f068 into main Feb 15, 2026
12 checks passed
@chrarnoldus chrarnoldus deleted the zai-preferred-provider branch February 15, 2026 14:26
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