feat: add MiniMax M2.5 & M2.7 as BAML LLM provider clients#91
Open
octo-patch wants to merge 2 commits intohumanlayer:mainfrom
Open
feat: add MiniMax M2.5 & M2.7 as BAML LLM provider clients#91octo-patch wants to merge 2 commits intohumanlayer:mainfrom
octo-patch wants to merge 2 commits intohumanlayer:mainfrom
Conversation
Add MiniMax M2.5 and M2.5-highspeed as pre-configured LLM provider clients using BAML's OpenAI-compatible provider with custom base_url. MiniMax offers a 204K context window and an OpenAI-compatible API. Changes: - Add MiniMaxM25 and MiniMaxM25Highspeed client definitions in clients.baml (template and workshop final) - Include MiniMax in round-robin (CustomFast) and fallback (OpenaiFallback) strategies - Add BAML test cases for MiniMax provider - Add unit tests (14 tests) validating BAML configuration - Add integration tests (5 tests) verifying MiniMax API compatibility - Update README with MiniMax setup instructions and env var
|
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. |
Add MiniMax-M2.7 and MiniMax-M2.7-highspeed as the latest recommended models, replacing M2.5 as the default in round-robin and fallback strategies. M2.5 clients remain available for backward compatibility. - Add MiniMaxM27 and MiniMaxM27Highspeed BAML client definitions - Update CustomFast round-robin and OpenaiFallback to use M2.7 - Add 9 unit tests and 5 integration tests for M2.7 models - Update README with M2.7 client documentation
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
MINIMAX_API_KEYenv var andhttps://api.minimax.io/v1base URLChanges (6 files, ~370 additions)
packages/create-12-factor-agent/template/baml_src/clients.baml— Add MiniMaxM27, MiniMaxM27Highspeed, MiniMaxM25, MiniMaxM25Highspeed client blocks; update CustomFast and OpenaiFallback strategiesworkshops/2025-05/final/baml_src/clients.baml— Same updates for workshop templatepackages/create-12-factor-agent/template/test/minimax-provider.test.ts— 23 unit tests validating all MiniMax client configpackages/create-12-factor-agent/template/test/minimax-integration.test.ts— 10 integration tests (5 for M2.7, 5 for M2.5) verifying live API responsespackages/create-12-factor-agent/template/baml_src/agent.baml— Add MiniMax-targeted test casespackages/create-12-factor-agent/template/README.md— Document MiniMax client usageTest plan