feat: add MiniMax as first-class LLM provider with M2.7 default#753
Open
octo-patch wants to merge 2 commits intoTheR1D:mainfrom
Open
feat: add MiniMax as first-class LLM provider with M2.7 default#753octo-patch wants to merge 2 commits intoTheR1D:mainfrom
octo-patch wants to merge 2 commits intoTheR1D:mainfrom
Conversation
Add first-class support for MiniMax LLM models (MiniMax-M2.5, MiniMax-M2.5-highspeed) via their OpenAI-compatible API endpoint. Changes: - Auto-detect MINIMAX_API_KEY env var and configure the API endpoint - Temperature clamping for MiniMax models (0.0 → 0.01) since MiniMax requires temperature in (0.0, 1.0] - Documentation in README with usage examples and Docker setup - 5 unit tests + 3 integration tests Co-Authored-By: Octopus <liyuan851277048@icloud.com>
- Update default model from MiniMax-M2.5 to MiniMax-M2.7 in README examples - Add MiniMax-M2.7 and MiniMax-M2.7-highspeed to available models list - Update unit tests to use M2.7 as primary model - Update integration tests to use M2.7 as primary model - Add backward compatibility tests for MiniMax-M2.5 - Keep all previous models as available alternatives
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Add first-class MiniMax LLM provider support with the latest M2.7 model as default.
Changes
MINIMAX_API_KEYenvironment variable and route to MiniMax APIWhy
MiniMax-M2.7 is the latest flagship model with enhanced reasoning and coding capabilities. The OpenAI-compatible API makes integration seamless with ShellGPT's existing architecture.
Testing