feat: add MiniMax as first-class LLM provider#4038
Open
octo-patch wants to merge 1 commit intoAgenta-AI:mainfrom
Open
feat: add MiniMax as first-class LLM provider#4038octo-patch wants to merge 1 commit intoAgenta-AI:mainfrom
octo-patch wants to merge 1 commit intoAgenta-AI:mainfrom
Conversation
Add MiniMax AI as a built-in LLM provider alongside existing providers (OpenAI, Anthropic, etc.) for both standard and custom provider modes. Backend: - Register MiniMax in StandardProviderKind and CustomProviderKind enums - Add MiniMax-M2.7, M2.7-highspeed, M2.5, M2.5-lightning models to supported_llm_models (via LiteLLM's native minimax/ prefix routing) Frontend: - Add MiniMax to SecretDTOProvider enum, PROVIDER_LABELS, and PROVIDER_KINDS - Add MINIMAX_API_KEY env var mapping in llmProviders.ts - Add MiniMax to llmAvailableProviders list - Add MiniMax icon component (SVG) and register in LLMIconMap - Add MiniMax to PROVIDER_ICON_MAP for provider selector dropdown Tests: - 17 unit tests for model registry, provider mapping, and enum validation - 10 integration tests for secret parsing, normalization, and consistency
|
Someone is attempting to deploy a commit to the agenta projects Team on Vercel. A member of the Team first needs to authorize it. |
|
PR Bot seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
mmabrouk
requested changes
Mar 22, 2026
Member
mmabrouk
left a comment
There was a problem hiding this comment.
Hey @octo-patch
Thank you for your contribution!
- Please use the PR template for your PR
- Please check the contributing guidelines https://agenta.ai/docs/contributing/first-pr we require for instance a short loom video demo for the feature with the PR
Thank you!
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 built-in LLM provider alongside existing providers (OpenAI, Anthropic, Google Gemini, etc.) for both standard and custom provider modes.
Changes
Backend (API + SDK):
Frontend (Web):
Tests:
How it works
MiniMax provides an OpenAI-compatible API at https://api.minimax.io/v1. LiteLLM already has native MiniMax provider support, so models are routed via the minimax/ prefix. Users configure MiniMax by adding their MINIMAX_API_KEY in the Agenta secrets vault, just like any other standard provider.
Test plan