Add MiniMax as first-class LLM provider with auto-detection#177
Open
octo-patch wants to merge 2 commits intoThe-Pocket:mainfrom
Open
Add MiniMax as first-class LLM provider with auto-detection#177octo-patch wants to merge 2 commits intoThe-Pocket:mainfrom
octo-patch wants to merge 2 commits intoThe-Pocket:mainfrom
Conversation
- Auto-detect MiniMax when MINIMAX_API_KEY is set (no LLM_PROVIDER needed) - Built-in defaults: model (MiniMax-M2.5), base URL, temperature range - Temperature clamping to MiniMax's accepted (0.01, 1.0] range - Custom model/base URL overrides via MINIMAX_MODEL / MINIMAX_BASE_URL - 15 unit tests + 3 live integration tests - Updated .env.sample and README with MiniMax configuration
- Set MiniMax-M2.7 as default model (was M2.5) - Update highspeed model reference to MiniMax-M2.7-highspeed - Keep all previous models as available alternatives via env var - Update related unit tests and documentation
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
MINIMAX_API_KEYis set, the provider is auto-configured — no need to setLLM_PROVIDER, model, or base URL manuallyMiniMax-M2.5model,https://api.minimax.iobase URLMINIMAX_MODELandMINIMAX_BASE_URLenv vars_PROVIDER_DEFAULTS) is extensible for future providersChanges
utils/call_llm.py.env.sampleREADME.mdtests/test_call_llm.pytests/__init__.pyUsage
Test plan