Open
Conversation
Add MiniMax AI as a first-class LLM provider using the existing OpenAI-compatible connector pattern (same approach as DeepSeek and TogetherAI). Changes: - Register MiniMax in BuiltinLLMProviders enum - Wire MiniMax to OpenAIConnector in LLMService (register + init) - Add 4 MiniMax models: M2.7, M2.7-highspeed, M2.5, M2.5-highspeed - Add 10 unit tests and 5 integration tests - Update README to list MiniMax as supported connector
Contributor
|
@octo-patch Hey, thanks so much for this contribution! Really appreciate you taking the time to add MiniMax as a provider. We'll run through our own testing on our end to make sure everything integrates cleanly, and then we'll get this merged. Thanks again, great first contribution to the project! |
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 AI as a first-class LLM provider in SmythOS SRE, using the existing OpenAI-compatible connector pattern (same approach as DeepSeek and TogetherAI).
MiniMaxinBuiltinLLMProvidersenum and wire it toOpenAIConnectorWhy MiniMax?
MiniMax provides OpenAI-compatible chat completion APIs with competitive models:
Since the API is fully OpenAI-compatible, no new SDK dependency or custom connector is needed — MiniMax reuses the existing
OpenAIConnectorwithbaseURL: 'https://api.minimax.io/v1'.Usage
Files Changed (6 files, 376 additions)
packages/core/src/types/LLM.types.tsMiniMaxtoBuiltinLLMProviderspackages/core/src/subsystems/LLMManager/LLM.service/index.tspackages/core/src/subsystems/LLMManager/models.tspackages/sdk/tests/unit/005-LLM/07-llm-minimax.test.tspackages/sdk/tests/integration/005-LLM/07-llm-minimax.test.tsREADME.mdTest Plan
vitest run packages/sdk/tests/unit/005-LLM/07-llm-minimax.test.ts)vitest run packages/sdk/tests/integration/005-LLM/07-llm-minimax.test.ts)