Feat/add minimax provider#713
Draft
shehab299 wants to merge 3 commits into
Draft
Conversation
Add MiniMax (https://api.minimax.io) as a built-in provider alongside OpenAI, Anthropic, and Gemini. MiniMax uses an OpenAI-compatible API, so the implementation reuses existing OpenAI wire types while adding MiniMax-specific temperature clamping (0.0 → 0.01, since MiniMax rejects temperature=0.0) and a static model catalogue. Models: MiniMax-M2.7, MiniMax-M2.7-highspeed (1M context), MiniMax-M2.5, MiniMax-M2.5-highspeed (204K context). Changes: - New provider module: libs/ai/src/providers/minimax/ (types, convert, stream, provider) with 23 unit tests and 3 integration tests - Provider trait impl: generate, stream, list_models, build_headers - SDK wiring: InferenceConfig, ClientBuilder, ProviderRegistry (auto- registers from MINIMAX_API_KEY env var), ProviderKind enum - Shared lib: ProviderConfig::MiniMax variant, stakai_adapter arms - CLI: auth login support, config profile template, endpoint cleaning - README: MiniMax in provider list, auth login example, BYOK config
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.
No description provided.