Open
Conversation
Add MiniMax (https://platform.minimaxi.com/) as a new LLM bot provider, following the same OpenAI-compatible pattern used by Moonshot and other providers. Changes: - Add MiniMaxBot extending ChatGPTBot via OpenAI-compatible API - Register minimax bot in factory, config, and CLI - Add --use_minimax and --minimax_api_key CLI arguments - Update README with MiniMax usage examples and config docs - Add 26 unit tests and 3 integration tests Co-Authored-By: octopus <octo-patch@users.noreply.github.com>
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
Add MiniMax as a new LLM bot provider for xiaogpt, following the same OpenAI-compatible pattern used by Moonshot and other providers.
ChatGPTBotwith MiniMax API base URL (https://api.minimax.io/v1) and default modelMiniMax-M1minimax_api_keyfield withMINIMAX_API_KEYenv var support--use_minimaxand--minimax_api_keyargumentsUsage
export MINIMAX_API_KEY=your_api_key xiaogpt --hardware LX06 --mute_xiaoai --use_minimaxOr via config:
Files changed (10 files, 388 additions)
xiaogpt/bot/minimax_bot.pyxiaogpt/bot/__init__.pyxiaogpt/config.pyxiaogpt/cli.pyREADME.mdxiao_config.yaml.exampletests/test_minimax_bot.pytests/test_minimax_integration.pytests/conftest.pytests/__init__.pyTest plan