Skip to content

Upgrade MiniMax default model to M3#570

Open
octo-patch wants to merge 1 commit into
microsoft:mainfrom
octo-patch:feature/upgrade-minimax-m3
Open

Upgrade MiniMax default model to M3#570
octo-patch wants to merge 1 commit into
microsoft:mainfrom
octo-patch:feature/upgrade-minimax-m3

Conversation

@octo-patch

Copy link
Copy Markdown
Contributor

Summary

Promote MiniMax-M3 as the recommended default for the optional MiniMax provider added in #474, while keeping MiniMax-M2.7 and MiniMax-M2.7-highspeed available for users who still want the previous generation.

Changes

  • .env.example — default MINIMAX_MODEL_ID is now MiniMax-M3.
  • 00-course-setup/README.md — "Available models" lists MiniMax-M3 (recommended) first, with MiniMax-M2.7 and MiniMax-M2.7-highspeed kept as options; the example MINIMAX_MODEL_ID value is updated to match.
  • 14-microsoft-agent-framework/README.md — the inline OpenAIChatClient(...) snippet uses model_id="MiniMax-M3".
  • 14-microsoft-agent-framework/code-samples/hotel_booking_workflow_sample.py — fallback model_id in the MiniMax branch is now "MiniMax-M3".

Nothing else is touched: MINIMAX_BASE_URL (https://api.minimax.io/v1), the Azure / GitHub Models / OpenAI provider blocks, and unrelated lessons are all left as-is. The localized mirrors under translations/ are regenerated by the existing translation workflow, so they are intentionally not edited by hand here.

Test plan

  • python -c "import ast; ast.parse(open('14-microsoft-agent-framework/code-samples/hotel_booking_workflow_sample.py').read())" — the modified sample still parses.
  • git grep "MINIMAX_MODEL_ID" -- ':!translations' — every non-translated reference now points at MiniMax-M3.
  • Visually confirmed MiniMax-M2.7 and MiniMax-M2.7-highspeed are still listed for users who want to pin the older generation.

Promote `MiniMax-M3` as the recommended default while keeping
`MiniMax-M2.7` and `MiniMax-M2.7-highspeed` available for users who
need the previous generation.

Changes:
- `.env.example`: default `MINIMAX_MODEL_ID` now `MiniMax-M3`
- `00-course-setup/README.md`: M3 listed first as recommended;
  M2.7 / M2.7-highspeed retained
- `14-microsoft-agent-framework/README.md`: sample snippet uses M3
- `14-microsoft-agent-framework/code-samples/hotel_booking_workflow_sample.py`:
  fallback `model_id` updated to M3

No API URL or non-MiniMax provider configuration is touched. The
translated mirrors under `translations/` are regenerated automatically
by the existing translation workflow, so they are left alone here.

Co-Authored-By: Octopus <liyuan851277048@icloud.com>
Copilot AI review requested due to automatic review settings June 1, 2026 13:34
@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

👋 Thanks for contributing @octo-patch! We will review the pull request and get back to you soon.

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

Note

Copilot was unable to run its full agentic suite in this review.

Updates the MiniMax default/model examples across the course to use MiniMax-M3 instead of MiniMax-M2.7.

Changes:

  • Changed the MiniMax default model_id used by the Lesson 14 hotel booking workflow sample.
  • Updated documentation examples to reference MiniMax-M3.
  • Updated .env.example and setup docs to recommend MiniMax-M3 and list available MiniMax models.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
14-microsoft-agent-framework/code-samples/hotel_booking_workflow_sample.py Switches the MiniMax default model_id to MiniMax-M3 in the runtime sample.
14-microsoft-agent-framework/README.md Updates the MiniMax usage snippet to use MiniMax-M3.
00-course-setup/README.md Updates the suggested MINIMAX_MODEL_ID and the “Available models” list to include/recommend MiniMax-M3.
.env.example Updates the example MiniMax model id to MiniMax-M3.

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

Comment on lines 192 to 196
chat_client = OpenAIChatClient(
base_url=os.environ.get("MINIMAX_BASE_URL", "https://api.minimax.io/v1"),
api_key=minimax_api_key,
model_id=os.environ.get("MINIMAX_MODEL_ID", "MiniMax-M2.7"),
model_id=os.environ.get("MINIMAX_MODEL_ID", "MiniMax-M3"),
)
Comment thread 00-course-setup/README.md
| `MINIMAX_MODEL_ID` | Model name to use (e.g., `MiniMax-M3`) |

**Available models**: `MiniMax-M2.7` (recommended), `MiniMax-M2.7-highspeed` (faster responses)
**Available models**: `MiniMax-M3` (recommended), `MiniMax-M2.7`, `MiniMax-M2.7-highspeed` (faster responses)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants