feat: add MiniMax provider support for deep-analysis mode#3
Open
octo-patch wants to merge 1 commit into
Open
Conversation
- Add minimax_provider.py with OpenAI-compatible client targeting MiniMax API - Support MiniMax-M2.7 (default) and MiniMax-M2.7-highspeed models - Add --provider minimax flag to main.py for content analysis via MiniMax - Add --model flag for model selection (default: MiniMax-M2.7) - Add openai>=1.0.0 to requirements.txt - Add 17 unit tests in tests/test_minimax_provider.py - Temperature fixed at 1.0 per MiniMax API constraints - Base URL: https://api.minimax.io/v1 (international endpoint) - API key via MINIMAX_API_KEY environment variable
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_provider.pywith an OpenAI-compatible client targeting the MiniMax API (international endpointhttps://api.minimax.io/v1)--provider minimaxflag tomain.pyso users can run deep-analysis using MiniMax instead of NotebookLM--modelflag for model selectionopenai>=1.0.0torequirements.txttests/test_minimax_provider.py(all passing)Usage
API References
Implementation Notes
1.0per MiniMax API constraints (range:(0.0, 1.0])--provider minimaxopts into the new path