Skip to content

feat: suggest current MiniMax models through OpenRouter - #1458

Open
octo-patch wants to merge 2 commits into
feder-cr:mainfrom
octo-patch:octo/20261021-provider-add-reczz28Ox4432xHU
Open

octo-patch wants to merge 2 commits into
feder-cr:mainfrom
octo-patch:octo/20261021-provider-add-reczz28Ox4432xHU

Conversation

@octo-patch

@octo-patch octo-patch commented Oct 20, 2026 •

Copy link
Copy Markdown

Reason: Make the current MiniMax text models discoverable through the Dot's existing OpenRouter configuration and metering contract.

What changes

The Brain model field now suggests MiniMax M3.1 Flash (minimax/minimax-m3.1-flash:free) before MiniMax M3 (minimax/minimax-m3). The existing default is unchanged. Saved IDs, custom IDs, older MiniMax IDs, summary models and YAML round trips remain supported.

These selections use the stored OpenRouter key. Model limits and request costs continue to come from OpenRouter; no direct API limits, prices or reasoning defaults are imposed on gateway requests. The provider, config projection and secret contract remain the upstream implementation.

OpenRouter route evidence: Flash endpoints and M3 endpoints.

Related issues

None.

How it was tested

  • 67 tests passed: apps/web/test/dot-form.test.ts, apps/web/test/yaml.test.ts, and packages/shared/test/config.test.ts.
  • 313 Python tests passed: tests/core/providers, tests/dots/test_provider.py, tests/dots/test_protocol.py, tests/dots/test_projection.py, and tests/dots/test_spend.py.
  • The new 30-case test uses real runtime config parsing, projection, provider construction, and the OpenAI SDK with an offline HTTP transport. It checks Flash/M3/legacy/custom/default IDs, default/custom gateway URLs, dynamically returned limits and routing, reported positive/zero/missing costs, tool and reasoning history, image payload preservation, and omission of unsolicited reasoning fields.
  • Focused strict TypeScript check passed for the changed form and test using the repository's base and web module settings; git diff --check passed.

Validation used existing read-only caches, with isolated credential-free environments: Node 24, TypeScript 7.0.2, Vitest 5.0.4, Python 3.11 and OpenAI SDK 3.35.1. This is not the exact CI environment (Python 3.12 and the image lock's SDK 3.24.0). Full workspace typecheck, complete pre-push suites, build, VM/browser smokes and paid/live inference were not run: the shared host has about 10 GiB free and heavy setup is paused. Focused checks are not a replacement for those gates.

Checklist

  • One logical change; tests added or updated for any change of behaviour.
  • The pre-push gate passed (git config core.hooksPath .githooks).
  • The README or docs/ updated if what a person sees changed.

@octo-patch
octo-patch force-pushed the octo/20261021-provider-add-reczz28Ox4432xHU branch from 4efab34 to 175e5d8 Compare October 20, 2026 21:06
@octo-patch octo-patch changed the title feat: add MiniMax provider support feat: suggest current MiniMax models through OpenRouter Oct 21, 2026

This branch has not been deployed

No deployments
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