feat(models): add novita provider for glm-5.1 - #2060
Conversation
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughA new provider entry for the Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
Adds Novita as an additional provider option for the existing Zhipu GLM-5.1 model entry, aligning provider-specific limits and pricing with Novita’s listing.
Changes:
- Add a new
providerId: "novita"mapping forzai-org/glm-5.1. - Configure Novita-specific pricing (input/cached input/output) and capability flags (streaming/reasoning/tools/jsonOutput).
- Set Novita-specific context and max output limits (204.8K context, 131.1K max output).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary
zai-org/glm-5.1) with 204.8K context and 131.1K max output.Test plan
TEST_MODELS="novita/glm-5.1" pnpm test:e2e— all 72 tests pass (including reasoning, streaming, tool calls, JSON output).🤖 Generated with Claude Code
Summary by CodeRabbit