Files
OmniRoute/scripts
Bezrabotnyi f8bed6e2e4 feat(providers): add the MiniMax Code provider over the managed gateway (#17286)
## Why
MiniMax Code accounts need an OpenAI-compatible route that returns native tool calls to agent clients using the subscription gateway.

## What changed
- Register `minimax-code` (`mmcode`) and add dashboard device-code sign-in.
- Translate chat, tool-call, and streaming gateway responses; preserve request-scoped size refusals and upstream error semantics.
- Read and refresh credentials from the local MiniMax Code profile. OmniRoute does not persist a separate provider credential in its connection database.

## Verification
- Focused MiniMax Code unit tests: 73/73 passed.
- `npm run check:docs-all`: passed; `npx eslint open-sse/executors/minimax-code.ts`: passed.
- API Route Typecheck and Semgrep are queued for this head.

## Notes
The managed gateway is an undocumented MiniMax subscription endpoint. Maintainer approval and a live `mcode` run remain outstanding; no live account result is claimed here. The ACP transport is not in this diff: #18119 was closed as a duplicate, and its implementation remains on `rebuild/minimax-code-provider-acp` pending a decision on its destination. Base-red issue #17219 is inherited.

Thanks @megamen32.
2026-11-08 19:19:59 -03:00
..
2026-06-19 06:49:01 -03:00
2026-06-23 17:06:18 -03:00
2026-07-29 15:18:55 -03:00
2026-07-13 09:12:40 -03:00