test(minimax): use MiniMax-M3 in test fixtures#363
Conversation
Update minimax_test.go to use MiniMax-M3 (the current flagship model) instead of MiniMax-M2.7 in test fixtures and assertions. The provider is a passthrough to the upstream API and supports any model dynamically; this change keeps the test suite aligned with the current default model without altering provider behavior.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe PR updates the minimax provider test file to assert ChangesMiniMax Model Version Update in Tests
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 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 |
Greptile SummaryThis PR updates the MiniMax provider tests to use the newer model fixture. The main changes are:
Confidence Score: 5/5This looks safe to merge.
Reviews (1): Last reviewed commit: "test(minimax): use MiniMax-M3 in test fi..." | Re-trigger Greptile |
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Summary
Update the MiniMax (minimax) provider test fixtures to reference
MiniMax-M3, the current flagship model, in place ofMiniMax-M2.7.Changes
internal/providers/minimax/minimax_test.go: replaceMiniMax-M2.7withMiniMax-M3in mock server responses, request payloads, and assertions.Why
The MiniMax provider is a passthrough to the upstream API and dynamically supports any model the upstream exposes via
/models. The provider does not maintain a hardcoded model list or default, so no production code needs to change to support the new model. Aligning the test fixtures with the current flagship keeps the test suite representative of typical usage.MiniMax-M3 is the new flagship model with 512K context window, 128K max output, and image input support, available across both OpenAI-compatible and Anthropic-compatible interfaces.
Testing
go test ./internal/providers/minimax/...passesgo vet ./internal/providers/minimax/...cleanSummary by CodeRabbit