feat: add MiniMax as LLM provider with M2.5 models#1
Open
octo-patch wants to merge 1 commit intolucija8320nhung4:mainfrom
Open
feat: add MiniMax as LLM provider with M2.5 models#1octo-patch wants to merge 1 commit intolucija8320nhung4:mainfrom
octo-patch wants to merge 1 commit intolucija8320nhung4:mainfrom
Conversation
Add MiniMax (https://api.minimax.io/v1) as a 4th provider alongside OpenRouter, Groq, and HacxGPT. MiniMax offers 204K context window and OpenAI-compatible chat completions API. Changes: - config_manager.py: Add minimax provider entry with 2 models - chat.py: Add MiniMax API endpoint routing in chat_request() - models.py: Add MiniMax-M2.5 and MiniMax-M2.5-highspeed ModelSpec entries - main.py: Update About, Links, and Disclaimer sections - README.md: Add MiniMax to provider tables, prerequisites, and FAQ - tests/: Add 31 tests (25 unit + 3 integration + 3 edge cases)
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
https://api.minimax.io/v1with 204K context windowChanges
config_manager.pychat.pychat_request()models.pyMiniMax-M2.5andMiniMax-M2.5-highspeedModelSpec entries (204K context)main.pyREADME.mdtests/test_minimax_provider.pyHow to use
MiniMax-M2.5orMiniMax-M2.5-highspeedTest plan
python -m unittest tests/test_minimax_provider.py -v)