Skip to content

feat: add MiniMax as a first-class AI provider#60

Open
octo-patch wants to merge 17 commits intoTraderAlice:devfrom
octo-patch:feature/add-minimax-provider
Open

feat: add MiniMax as a first-class AI provider#60
octo-patch wants to merge 17 commits intoTraderAlice:devfrom
octo-patch:feature/add-minimax-provider

Conversation

@octo-patch
Copy link

Summary

Add MiniMax as a built-in provider option for the Vercel AI SDK backend, alongside Anthropic, OpenAI, and Google.

MiniMax offers an OpenAI-compatible API, so this leverages the existing @ai-sdk/openai package with a custom base URL (https://api.minimax.io/v1) — no new dependencies required.

Changes

  • Model factory (model-factory.ts): add minimax case using createOpenAI with MiniMax's default endpoint
  • Config schema (config.ts): add minimax to the apiKeys Zod object
  • Web UI (AIProviderPage.tsx): add MiniMax to the provider selector with MiniMax-M2.5 model presets
  • Channel config (ChannelConfigModal.tsx): add MiniMax to per-channel provider dropdown
  • API route (config.ts): include minimax in the API key status endpoint
  • UI types (types.ts): add minimax to AIProviderConfig.apiKeys
  • README: mention MiniMax alongside other supported providers

Configuration Example

Available Models

Model Context Window Description
MiniMax-M2.5 204K tokens Full capability model
MiniMax-M2.5-highspeed 204K tokens Optimized for speed

Test Plan

  • All existing tests pass (766/766)
  • Backend builds successfully (pnpm build:backend)
  • UI builds successfully (pnpm build:ui)
  • No new dependencies added
  • Fully backward compatible — existing provider configs unaffected

luokerenx4 and others added 17 commits March 6, 2026 00:25
fix: CCXT contract resolution + provider resilience
v0.9: Unified trading, OpenTypeBB, Agent SDK, SSE streaming
v0.9.0-beta.1: versioning, testing, and stability
v0.9.0-beta.2: package publishing, bug fixes, refactoring
v0.9.0-beta.3: opentypebb bug fix, npmjs publish fix
ci: workflow_dispatch + independent registry checks
fix(ci): unify ui into pnpm workspace
fix(ci): remove pnpm cache from release publish job
v0.9.0-beta.5: cherry-pick fixes & docs from Claude branches
fix(build): fix opentypebb exports for production + add start script
fix: Vercel AI SDK parallel tool results + Anthropic base URL hint
fix: restore preview image in README
refactor: AI provider architecture cleanup + bug fixes
feat: add @traderalice/ibkr TWS API package + refactors
Add MiniMax (https://www.minimaxi.com/) as a built-in provider option
for the Vercel AI SDK backend. MiniMax offers an OpenAI-compatible API
so this leverages the existing @ai-sdk/openai package with a custom
base URL (https://api.minimax.io/v1).

Changes:
- Model factory: add 'minimax' case using createOpenAI with MiniMax endpoint
- Config schema: add 'minimax' to apiKeys object
- Web UI: add MiniMax to provider selector with M2.5 model presets
- Channel config: add MiniMax to per-channel provider dropdown
- API route: include minimax in API key status endpoint
- README: mention MiniMax alongside other supported providers
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.

2 participants