Repository navigation
feat: support MiniMax M4 and its reasoning levels in SQL Chat - #198
Open
octo-patch wants to merge 1 commit into
Open
octo-patch wants to merge 1 commit into
octo-patch wants to merge 1 commit into
Conversation
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.
SQL Chat preserves a hand-entered
MiniMax-M4ID after #192, but applies the fallback 4,000-token budget to the conversation and schema. The model is also missing from Settings.This adds M4 to the existing picker with a 1,000,000-token context budget. Settings exposes its five reasoning efforts and remembers the choice. An unset effort uses MiniMax’s default (max). The chat handler validates a supplied effort and forwards it only for M4. The flexible layout accommodates the additional model on narrower windows.
I checked the picker in Chromium on main and on this branch, including changing models and reloading a saved xhigh preference. I also sent six streaming requests through SQL Chat’s actual
/api/chathandler to the mainland MiniMax API. The implicit default and each explicit effort (low, medium, high, xhigh, max) returned HTTP 200 and the expected answer. Localnext lintand the productionnext buildpassed after generating the Prisma client. The GitHub job stops during dependency installation: its unpinned pnpm rejects the three Prisma lifecycle scripts withERR_PNPM_IGNORED_BUILDSbefore lint or build runs. The dependency lockfile and workflow are identical to main. TypeScript reported identical errors on main and this patch in ThreeDotsLoader and the Postgres connector.Settings before · Settings after · MiniMax Chat Completions reference