Repository navigation
feat(ai): add MiniMax provider with Flash-first model choices - #331
Open
octo-patch wants to merge 6 commits into
Open
octo-patch wants to merge 6 commits into
octo-patch wants to merge 6 commits into
Conversation
Author
|
Updated this PR with MiniMax global/China endpoint presets for both supported wire protocols, required API-key handling, current M3/M2.7 metadata, and protocol-specific model discovery and streaming coverage. Focused tests, TypeScript checking, ESLint, and the production build pass; the two unrelated full-suite failures reproduce on the pre-change PR head. |
This branch has not been deployed
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.
Reason: Instatic needs a first-class MiniMax connection with current ordinary model choices and protocol-correct tool continuation. New MiniMax credentials should prefer MiniMax-M3.1-Flash, then MiniMax-M3, while existing saved model IDs remain usable.
Summary
minimax/minimax-m3.1-flash:freeroute beforeminimax/minimax-m3, retaining gateway prices/context and saved legacy model lookup. Other provider and media entries are preserved.reasoning_content; Messages replays thinking blocks and signatures in their original order. Shared adapters enable this only for the direct MiniMax provider.Sources: OpenAI-compatible API, Messages API, pricing, and live OpenRouter catalogue, inspected 2026-10-20.
Verification
bun run build— deferred under the shared runner's disk-resource pause; fewer than 110 GiB available.bun test— full suite not run. Focused HTTP-boundary/regression tests could not load missinghappy-dom. A small dependency setup at repository lockfile versions waited on the shared light-install lock; the initial 180-second wait expired and a longer wait was canceled for handoff after over 20 minutes without install output. Focused execution needs a retry.bun run lint— full dependency setup is resource-paused.git diff --checkpass. Bun 1.3.14 is available locally (manifest supports >=1.2.4; CI pins 1.3.11).dbda218b8baaa36e5422127cd055b49b286e3c65: both Socket checks passed. Repository CI isaction_requiredawaiting maintainer approval; its lint/build/test jobs have not run.Checklist