feat: add MiniMax as first-class LLM provider#280
Closed
octo-patch wants to merge 1 commit intoageerle:mainfrom
Closed
feat: add MiniMax as first-class LLM provider#280octo-patch wants to merge 1 commit intoageerle:mainfrom
octo-patch wants to merge 1 commit intoageerle:mainfrom
Conversation
Add MiniMax AI as the 7th LLM provider, supporting chat (M2.7, M2.5, M2.5-highspeed) and embedding (embo-01) models via OpenAI-compatible API. Changes: - Add MINIMAX enum to ChatModeType - Add MinimaxServiceImpl chat provider (OpenAI-compat streaming) - Add MinimaxEmbeddingProvider for vector embeddings - Add SQL migration for provider and model registration - Add 14 unit tests + 3 integration tests - Update README/README_EN with MiniMax in provider list
Owner
|
感谢贡献!MiniMax provider 已通过手动合并到 main 分支(提交 081da6d),合并时解决了冲突并补充了 MyChatModelListener 监听,与其他 provider 保持一致。此 PR 可以关闭了。 |
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 the 7th LLM provider in RuoYi AI, following the existing factory pattern.
Changes
MINIMAX("minimax", "MiniMax")enum valueOpenAiStreamingChatModelwith MiniMax OpenAI-compatible API (https://api.minimax.io/v1), supports streaming and thinking modeOpenAiEmbeddingProviderfor MiniMaxembo-01model (1536 dimensions)Supported Models
Architecture
Follows the same pattern as existing providers (DeepSeek, PPIO):
AbstractChatServiceinterfaceChatServiceFactoryvia Spring@ServiceOpenAiStreamingChatModelfor OpenAI-compatible APITest Plan
mvn compile