feat: add MiniMax as a first-class AI provider#60
Open
octo-patch wants to merge 17 commits intoTraderAlice:devfrom
Open
feat: add MiniMax as a first-class AI provider#60octo-patch wants to merge 17 commits intoTraderAlice:devfrom
octo-patch wants to merge 17 commits intoTraderAlice:devfrom
Conversation
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
fix(ci): npmjs publish auth
ci: workflow_dispatch + independent registry checks
Release v0.9.0-beta.4
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
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
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/openaipackage with a custom base URL (https://api.minimax.io/v1) — no new dependencies required.Changes
model-factory.ts): addminimaxcase usingcreateOpenAIwith MiniMax's default endpointconfig.ts): addminimaxto theapiKeysZod objectAIProviderPage.tsx): add MiniMax to the provider selector with MiniMax-M2.5 model presetsChannelConfigModal.tsx): add MiniMax to per-channel provider dropdownconfig.ts): includeminimaxin the API key status endpointtypes.ts): addminimaxtoAIProviderConfig.apiKeysConfiguration Example
Available Models
Test Plan
pnpm build:backend)pnpm build:ui)