Add MiniMax as LLM provider for web agent evaluation#250
Open
octo-patch wants to merge 1 commit into
Open
Conversation
Add MiniMax (MiniMax-M2.7, MiniMax-M2.5, MiniMax-M2.5-highspeed) as a third LLM provider alongside OpenAI and HuggingFace. Uses the OpenAI-compatible Chat Completions API via direct HTTP requests to avoid interfering with the existing openai==0.27.0 global state. Key changes: - New provider module: llms/providers/minimax_utils.py with sync/async generation, temperature clamping, think-tag stripping, and retry logic - Updated lm_config.py, utils.py, tokenizers.py, __init__.py for minimax provider dispatch and configuration - Updated prompt_constructor.py to format prompts for minimax (same chat format as OpenAI) - Updated README.md with MiniMax usage examples and supported providers table - 28 unit tests + 3 integration tests Usage: export MINIMAX_API_KEY=your_key python run.py --provider minimax --model MiniMax-M2.7 --mode chat
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
Changes
Usage
export MINIMAX_API_KEY=your_key python run.py --provider minimax --model MiniMax-M2.7 --mode chat --temperature 0.8 --result_dir results_minimaxTest plan