Skip to content

fix(profiles): refresh MiniMax model id - #255

Open
octo-patch wants to merge 1 commit into
happier-dev:devfrom
octo-patch:octo/20260812-parameter-refresh-recvrZ4cK3jYp9
Open

fix(profiles): refresh MiniMax model id#255
octo-patch wants to merge 1 commit into
happier-dev:devfrom
octo-patch:octo/20260812-parameter-refresh-recvrZ4cK3jYp9

Conversation

@octo-patch

@octo-patch octo-patch commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Reason: The shipped global and China MiniMax profiles use a suffixed model identifier instead of the current M3 identifier.

  • Use MiniMax-M3 for the default, Opus, and Sonnet mappings in both profiles.
  • Keep the 1,000,000-token compaction window and the M2.7 secondary-tier mapping unchanged.
  • Update the setup documentation and focused environment-overlay expectations.

Checks:

  • node --experimental-strip-types --check packages/protocol/src/providers/claude/builtInBackendProfiles.ts
  • node --experimental-strip-types --check apps/ui/sources/sync/domains/profiles/profileDocumentation.ts
  • node --experimental-strip-types --check apps/cli/src/settings/profiles/buildProfileEnvOverlay.test.ts
  • Exact source assertions for MiniMax-M3, MiniMax-M2.7, and removal of the suffixed profile identifier
  • git diff --check

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Summary by CodeRabbit

  • Bug Fixes
    • Updated MiniMax model configurations to use the correct MiniMax-M3 identifier.
    • Preserved the 1-million-token context and automatic compaction behavior.
    • Updated MiniMax documentation and model-selection examples to reflect the corrected configuration.

Note

Update MiniMax model IDs to remove [1m] suffix from built-in profiles

Changes the default model identifiers for MiniMax and MiniMax CN built-in profiles from MiniMax-M3[1m] to MiniMax-M3 across profile definitions, documentation, and tests. The 1M token context window is retained; only the model ID string is updated to match MiniMax's current API naming.

Macroscope summarized 1830ee8.

@coderabbitai

coderabbitai Bot commented Aug 12, 2026

Copy link
Copy Markdown

Review Change Stack

Walkthrough

MiniMax global and China profiles now use MiniMax-M3 without the [1m] suffix. Documentation and tests match the updated defaults. The MiniMax profile retains its one-million-token auto-compaction setting.

Changes

MiniMax model alignment

Layer / File(s) Summary
Profile defaults and environment expectations
packages/protocol/src/providers/claude/builtInBackendProfiles.ts, apps/cli/src/settings/profiles/buildProfileEnvOverlay.test.ts
MiniMax and MiniMax CN defaults use MiniMax-M3. Tests retain the 1000000 compaction-window assertion.
Profile documentation and examples
apps/ui/sources/sync/domains/profiles/profileDocumentation.ts
Global and China documentation and shell examples use MiniMax-M3 and describe its 1M-token context.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Suggested reviewers: leeroybrun

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the MiniMax model identifier update and accurately summarizes the primary change.
Description check ✅ Passed The description explains the change, rationale, preserved mappings, documentation updates, and verification steps, but it omits the template headings and checklist.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@greptile-apps

greptile-apps Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR refreshes the shipped global and China MiniMax profiles to use the current MiniMax-M3 identifier.

  • Updates the default, Opus, and Sonnet model mappings while retaining the M2.7 Haiku mapping and 1,000,000-token compaction window.
  • Synchronizes setup documentation and focused environment-overlay test expectations with the new identifier.

Confidence Score: 5/5

The PR appears safe to merge, with the runtime defaults, documentation, and focused expectations remaining synchronized.

The changed identifier is applied consistently to both shipped MiniMax profiles and their aliases, while the intended compaction window and M2.7 secondary-tier mapping remain unchanged.

Important Files Changed

Filename Overview
packages/protocol/src/providers/claude/builtInBackendProfiles.ts Updates both reachable MiniMax profile defaults consistently without changing their compaction, timeout, endpoint, or secondary-tier settings.
apps/ui/sources/sync/domains/profiles/profileDocumentation.ts Aligns global and China profile descriptions, expected values, and shell examples with the refreshed model identifier.
apps/cli/src/settings/profiles/buildProfileEnvOverlay.test.ts Updates focused assertions that exercise both regional profiles and all affected model aliases.

Reviews (1): Last reviewed commit: "fix(profiles): refresh MiniMax model id" | Re-trigger Greptile

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@apps/ui/sources/sync/domains/profiles/profileDocumentation.ts`:
- Around line 177-194: Localize the user-visible profile documentation
descriptions and model-selection comments in the profile documentation
definitions, including the additional affected sections. Replace hard-coded
English prose with t(...) calls while keeping environment variable names, model
IDs, and shell syntax literal or interpolated, and add matching translation keys
to every locale under sources/text/translations/.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 95d48c66-32e4-4cdd-b204-266f0ce6395d

📥 Commits

Reviewing files that changed from the base of the PR and between 89d49bd and 1830ee8.

📒 Files selected for processing (3)
  • apps/cli/src/settings/profiles/buildProfileEnvOverlay.test.ts
  • apps/ui/sources/sync/domains/profiles/profileDocumentation.ts
  • packages/protocol/src/providers/claude/builtInBackendProfiles.ts

Comment on lines +177 to +194
description: 'Context capacity used for auto-compaction. Matches M3\'s 1M context window.',
isSecret: false,
},
{
name: 'MINIMAX_MODEL',
expectedValue: 'MiniMax-M3[1m]',
description: 'Default model. The [1m] suffix selects M3\'s 1M-context variant, as MiniMax\'s Claude Code guide specifies.',
expectedValue: 'MiniMax-M3',
description: 'Default model with a 1M-token context window.',
isSecret: false,
},
{
name: 'MINIMAX_OPUS_MODEL',
expectedValue: 'MiniMax-M3[1m]',
expectedValue: 'MiniMax-M3',
description: 'Model used when the session selects the Opus tier',
isSecret: false,
},
{
name: 'MINIMAX_SONNET_MODEL',
expectedValue: 'MiniMax-M3[1m]',
expectedValue: 'MiniMax-M3',

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 Maintainability & Code Quality | 🟠 Major | 🏗️ Heavy lift

Localize the changed profile documentation prose.

The changed description fields and model-selection comments are user-visible documentation, but they remain hard-coded English literals. Resolve the prose through t(...) and add keys to every locale. Keep environment variable names, model IDs, and shell syntax as literal or interpolated values.

As per coding guidelines, “All user-visible strings, accessibility labels, and placeholders must use t(...) and be added to every locale under sources/text/translations/.”

Also applies to: 216-224, 252-269, 291-293

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@apps/ui/sources/sync/domains/profiles/profileDocumentation.ts` around lines
177 - 194, Localize the user-visible profile documentation descriptions and
model-selection comments in the profile documentation definitions, including the
additional affected sections. Replace hard-coded English prose with t(...) calls
while keeping environment variable names, model IDs, and shell syntax literal or
interpolated, and add matching translation keys to every locale under
sources/text/translations/.

Source: Coding guidelines

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