Skip to content

feat: add MiniMax as LLM provider with M3 as default model#247

Open
octo-patch wants to merge 3 commits into
Alibaba-NLP:mainfrom
octo-patch:feature/add-minimax-provider
Open

feat: add MiniMax as LLM provider with M3 as default model#247
octo-patch wants to merge 3 commits into
Alibaba-NLP:mainfrom
octo-patch:feature/add-minimax-provider

Conversation

@octo-patch
Copy link
Copy Markdown

@octo-patch octo-patch commented Mar 15, 2026

Summary

Add MiniMax as an LLM provider for the summary model and qwen-agent framework, with the latest MiniMax-M3 as the default model. MiniMax-M2.7 is preserved for backward compatibility; earlier M2.5 / M2.5-highspeed entries have been removed.

Changes

  • Add MiniMax LLM provider (TextChatAtMiniMax) in the qwen-agent framework with auto-detection by model name
  • Default model upgraded to MiniMax-M3 (512K context, 128K max output, image input supported, latest flagship); MiniMax-M2.7 kept for backward compatibility
  • Add MINIMAX_API_KEY fallback in tool_visit.py for page summarization (default fallback model: MiniMax-M3)
  • Update .env.example with MiniMax configuration
  • Document MiniMax integration in README

Why

MiniMax-M3 is the latest flagship model with 512K context length and 128K max output, well-suited for long document summarization tasks. Existing users of MiniMax-M2.7 remain supported without code changes.

Testing

  • Python syntax validation passed for all modified files
  • MiniMax provider inherits from TextChatAtOAI (OpenAI-compatible), minimal risk
  • Verified: MiniMax-M3 is the default model in minimax.py and tool_visit.py; MiniMax-M2.5 and MiniMax-M2.5-highspeed references removed

octo-patch and others added 2 commits March 15, 2026 09:33
…work

MiniMax offers OpenAI-compatible LLM APIs with models like MiniMax-M2.5
(204K context). This commit adds MiniMax support in three areas:

- New minimax provider in qwen-agent LLM registry with auto-detection
  for model names containing "minimax"
- Fallback to MINIMAX_API_KEY in tool_visit.py for page summarization
- Configuration examples in .env.example and README documentation
- Set MiniMax-M2.7 as default model (was M2.5)
- Add MiniMax-M2.7 and MiniMax-M2.7-highspeed to model documentation
- Keep all previous models (M2.5, M2.5-highspeed) as alternatives
- Update tool_visit.py, minimax.py provider, README, and .env.example
@octo-patch octo-patch changed the title Add MiniMax as LLM provider for summary model and qwen-agent framework feat: add MiniMax as LLM provider with M2.7 as default model Mar 18, 2026
@octo-patch octo-patch changed the title feat: add MiniMax as LLM provider with M2.7 as default model feat: add MiniMax as LLM provider with M3 as default model Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant