provider: add MiniMax as LLM provider (rebased & signed)#1650
Open
kapelame wants to merge 1 commit into
Open
Conversation
5 tasks
Add MiniMax as a first-class LLM provider to the Portkey AI Gateway, supporting MiniMax-M2.7 and MiniMax-M2.7-highspeed models via their OpenAI-compatible API at https://api.minimax.io/v1. - Add provider files (api.ts, chatComplete.ts, index.ts) with streaming support and response transforms - Register provider in globals, provider index, providers.json, and models.json - Use open-ai-base for chat completion params with temperature default of 1.0 - Exclude unsupported params: logit_bias, logprobs, top_logprobs - Add 22 unit tests covering config, transforms, and streaming - Add 3 integration tests with real API validation - Add test variables entry for MINIMAX_API_KEY Co-authored-by: PR Bot <pr-bot@minimaxi.com> Signed-off-by: kapelame <kapelame@users.noreply.github.com>
ccc2ebd to
1a568bb
Compare
Author
|
@narengogi commit is now SSH-signed (GitHub verifies as ✅). Same code as #1571 (your approval there). Ready for re-review whenever you've got a moment 🙏 |
narengogi
approved these changes
May 14, 2026
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.
Reopens #1571 with rebase + DCO sign-off.
mainSigned-off-by:trailer added (DCO)Co-authored-by: PR Bot <pr-bot@minimaxi.com>to preserve credit to the original author (@octo-patch)Coordinated with @narengogi via DM. Once this is merged, #1571 can be closed.
cc @narengogi @octo-patch