Skip to content

Feat/add minimax provider#713

Draft
shehab299 wants to merge 3 commits into
mainfrom
feat/add-minimax-provider
Draft

Feat/add minimax provider#713
shehab299 wants to merge 3 commits into
mainfrom
feat/add-minimax-provider

Conversation

@shehab299
Copy link
Copy Markdown
Collaborator

No description provided.

PR Bot and others added 2 commits April 27, 2026 15:20
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
@shehab299 shehab299 marked this pull request as draft April 27, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant