Skip to content

chore: refresh llm configs for minimax m2.7 - #1247

Merged
shunkakinoki merged 2 commits into
mainfrom
chore/refresh-llm-configs
Mar 22, 2026
Merged

chore: refresh llm configs for minimax m2.7#1247
shunkakinoki merged 2 commits into
mainfrom
chore/refresh-llm-configs

Conversation

@shunkakinoki

@shunkakinoki shunkakinoki commented Mar 22, 2026

Copy link
Copy Markdown
Owner

$(cat <<'EOF'
Refresh the repo's canonical Minimax model entry from to and regenerate the configs that are derived from .

This keeps the generated CLIProxyAPI, OpenClaw, OpenCode, and Pi model definitions aligned with the source-of-truth model map instead of leaving those consumers on the previous version.

I also updated so its OpenCode API key comment matches the configured Minimax model.
'EOF'
)


Summary by cubic

Switch the canonical Minimax model from minimax-m2.5 to minimax-m2.7 and refresh all derived configs. This keeps CLIProxyAPI, OpenClaw, OpenCode, and Pi aligned with models.json.

  • Refactors
    • Set minimax in models.json to minimax-m2.7.
    • Updated templates to use minimax-m2.7 in config/cliproxyapi, config/openclaw (including default primary), config/opencode, and config/pi.
    • Clarified .env.example OPENCODE_API_KEY comment to reference OpenCode Go via cliproxyapi.

Written for commit 245dd91. Summary will update on new commits.

@coderabbitai

coderabbitai Bot commented Mar 22, 2026

Copy link
Copy Markdown

Caution

Review failed

Pull request was closed or merged during review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 1f32f681-1a5d-418c-b64f-dc22a67ba12d

📥 Commits

Reviewing files that changed from the base of the PR and between 8f64e9f and 245dd91.

📒 Files selected for processing (6)
  • .env.example
  • config/cliproxyapi/config.template.yaml
  • config/openclaw/openclaw.template.json
  • config/opencode/opencode.jsonc
  • config/pi/models.json
  • models.json

📝 Walkthrough

Summary by CodeRabbit

  • Chores
    • Updated Minimax model version from M2.5 to M2.7 across configuration files.

Walkthrough

This PR updates the Minimax language model version from m2.5 to m2.7 across configuration files and model mappings. Additionally, .env.example clarifies the OPENCODE_API_KEY documentation to reference "OpenCode Go access" rather than "minimax-m2.5 access".

Changes

Cohort / File(s) Summary
Environment & ClIProxyAPI Configuration
.env.example, config/cliproxyapi/config.template.yaml
Updated OPENCODE_API_KEY comment to reference "OpenCode Go access"; updated clipproxyapi opencode provider model from minimax-m2.5 to minimax-m2.7.
Service Configuration
config/openclaw/openclaw.template.json, config/opencode/opencode.jsonc, config/pi/models.json
Updated Minimax model references from minimax-m2.5 / Minimax M2.5 to minimax-m2.7 / Minimax M2.7. In openclaw config, also updated default agent primary model reference accordingly.
Root Model Mapping
models.json
Updated minimax model key mapping value from minimax-m2.5 to minimax-m2.7.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Poem

🐰 Minimax hops from point-five to seven,
Configuration files ascending to heaven,
Model names gleaming, so shiny and new,
Across every config, through and through! 🌟

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely summarizes the main change: updating LLM configs to use Minimax M2.7 instead of M2.5.
Description check ✅ Passed The description is directly related to the changeset, explaining the rationale for updating the canonical Minimax model and regenerating derived configs.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/refresh-llm-configs

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 and usage tips.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request updates the project's configuration to consistently use the newer Minimax M2.7 large language model across all relevant services and tools. This ensures that all components relying on Minimax are aligned with the latest model version, improving consistency and leveraging the most current capabilities.

Highlights

  • Minimax Model Update: The canonical Minimax model entry in models.json has been refreshed from minimax-m2.5 to minimax-m2.7.
  • Configuration Alignment: Various configuration files for CLIProxyAPI, OpenClaw, OpenCode, and Pi model definitions were updated to align with the new minimax-m2.7 model.
  • Documentation Clarity: The comment for the OPENCODE_API_KEY in .env.example was updated to reflect the minimax-m2.7 model.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@mesa-dot-dev

mesa-dot-dev Bot commented Mar 22, 2026

Copy link
Copy Markdown

Mesa Description

TL;DR

Refreshed the canonical Minimax model to minimax-m2.7 and updated all derived configurations.

What changed?

  • .env.example: Updated the comment for OPENCODE_API_KEY to reflect minimax-m2.7.
  • config/cliproxyapi/config.template.yaml: Changed the model name and alias from minimax-m2.5 to minimax-m2.7.
  • config/openclaw/openclaw.template.json: Updated the model ID, name, and the primary default agent model from minimax-m2.5 to minimax-m2.7.
  • config/opencode/opencode.jsonc: Replaced the minimax-m2.5 model entry with minimax-m2.7, including its identifier and display name.
  • config/pi/models.json: Changed the Minimax model ID and name from minimax-m2.5 to minimax-m2.7.
  • models.json: Updated the version of the "minimax" model from minimax-m2.5 to minimax-m2.7.

Description generated by Mesa. Update settings

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates the Minimax model version from m2.5 to m2.7 across various configuration files. The changes are consistent, updating the canonical model entry in models.json and derived configs for CLIProxyAPI, OpenClaw, OpenCode, and Pi. The comment in .env.example is also updated to reflect the new model version. The changes are straightforward and correctly implement the intended model version refresh.

@shunkakinoki
shunkakinoki marked this pull request as ready for review March 22, 2026 02:41
Copilot AI review requested due to automatic review settings March 22, 2026 02:41
@mesa-dot-dev

mesa-dot-dev Bot commented Mar 22, 2026

Copy link
Copy Markdown

You do not have enough credits to review this pull request. Please purchase more credits to continue.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 6 files

@shunkakinoki
shunkakinoki merged commit f2d2b51 into main Mar 22, 2026
31 of 33 checks passed
@shunkakinoki
shunkakinoki deleted the chore/refresh-llm-configs branch March 22, 2026 02:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the repo’s canonical Minimax model version and regenerates downstream tool configs so all consumers stay aligned with models.json.

Changes:

  • Bump minimax in models.json from minimax-m2.5 to minimax-m2.7.
  • Regenerate derived configs for CLIProxyAPI, OpenClaw, OpenCode, and Pi to reference minimax-m2.7.
  • Adjust .env.example commentary related to OPENCODE_API_KEY.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
models.json Updates the canonical Minimax model mapping to minimax-m2.7.
config/pi/models.json Updates Pi’s model catalog entry to minimax-m2.7.
config/opencode/opencode.jsonc Updates OpenCode’s local CLIProxyAPI model display mapping to minimax-m2.7.
config/openclaw/openclaw.template.json Updates OpenClaw model list and default primary model to minimax-m2.7.
config/cliproxyapi/config.template.yaml Updates CLIProxyAPI OpenAI-compat provider model mapping to minimax-m2.7.
.env.example Updates the OPENCODE_API_KEY comment (minor clarity opportunity noted).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .env.example
# Gateway token for remote mode clients (from kyber: cat ~/.config/openclaw/gateway-token)
OPENCLAW_GATEWAY_TOKEN=your-gateway-token-here
# OpenCode API key for minimax-m2.5 access via cliproxyapi
# OpenCode API key for OpenCode Go access via cliproxyapi

Copilot AI Mar 22, 2026

Copy link

Choose a reason for hiding this comment

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

The OPENCODE_API_KEY comment no longer mentions which upstream access this enables. Since the local CLIProxyAPI config maps OPENCODE_API_KEY to the opencode provider for the minimax-m2.7 model, consider mentioning minimax-m2.7 (or opencode.ai + minimax) here to reduce user confusion when setting secrets.

Suggested change
# OpenCode API key for OpenCode Go access via cliproxyapi
# OpenCode (opencode.ai) API key for CLIProxyAPI opencode provider (minimax-m2.7 model)

Copilot uses AI. Check for mistakes.
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.

2 participants