This repository was archived by the owner on Mar 29, 2026. It is now read-only.
feat: add MiniMax LLM provider with M2.7 default#1118
Open
octo-patch wants to merge 3 commits into
Open
Conversation
Add MiniMax as a new LLM provider for Vanna, enabling users to leverage MiniMax's models (MiniMax-M2.5, MiniMax-M2.5-highspeed) with 204K context windows through their OpenAI-compatible API. Changes: - New integration module at src/vanna/integrations/minimax/ - Implements LlmService interface with streaming and tool support - Handles MiniMax-specific temperature constraints (0.0, 1.0] - Adds minimax optional dependency in pyproject.toml - Includes comprehensive unit tests (15 tests) - Updates README to list MiniMax as a supported LLM provider Co-Authored-By: octo-patch <noreply@github.com>
- Set MiniMax-M2.7 as the new default model (was M2.5) - Update docstrings to reference M2.7 model family - Update unit tests to verify M2.7 default - All previous models remain available as alternatives
- Add MiniMax-M3 to model list and set as default - Keep MiniMax-M2.7 and MiniMax-M2.7-highspeed - Remove older models (M2.5/M2.1/M2/M1) - Update related tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
MinimaxLlmServiceclass implementingLlmServiceinterfaceMiniMax-M2.7(latest flagship with enhanced reasoning and coding)pip install vanna[minimax]Why
MiniMax-M2.7 is the latest flagship model with enhanced reasoning and coding capabilities. The integration uses the standard OpenAI SDK pointed at MiniMax's compatible endpoint.
Testing