Skip to content

feat(llm): add MiniMax-M3 and MiniMax-M2.7 text model coverage - #126

Open
octo-patch wants to merge 1 commit into
calesthio:masterfrom
octo-patch:octo/20260731-model-add-recvqiqREBUFPX
Open

feat(llm): add MiniMax-M3 and MiniMax-M2.7 text model coverage#126
octo-patch wants to merge 1 commit into
calesthio:masterfrom
octo-patch:octo/20260731-model-add-recvqiqREBUFPX

Conversation

@octo-patch

Copy link
Copy Markdown
Contributor

Reason: model-add — add built-in/default coverage for both MiniMax-M3 and MiniMax-M2.7 text models while preserving the explicit LLM_MODEL override.

Problem

The MiniMax provider defaulted to MiniMax-M2.5 and its unit and integration tests exercised MiniMax-M2.5 only. The current target text model set requires both MiniMax-M3 and MiniMax-M2.7. Open PR #120 updates the default and fixtures to M3, and open PR #36 updates them to M2.7, so neither change alone covers both target model IDs.

Changes

  • lib/llm/minimax.mjs: Introduce MINIMAX_DEFAULT_MODEL (MiniMax-M3) and MINIMAX_MODEL_IDS (['MiniMax-M3', 'MiniMax-M2.7']). The default model is the first entry of the supported list, and the provider now exposes this.modelIds. An explicit config.model / LLM_MODEL override still wins.
  • test/llm-minimax.test.mjs: Update unit tests to assert the default is MiniMax-M3, that modelIds contains both MiniMax-M3 and MiniMax-M2.7, and that an explicit MiniMax-M2.7 model is honored without changing the supported set. Update request/response fixtures from MiniMax-M2.5 to MiniMax-M3.
  • test/llm-minimax-integration.test.mjs: Cover both MiniMax-M3 and MiniMax-M2.7 against the real API (skipped without MINIMAX_API_KEY).
  • .env.example and README.md: Document MiniMax-M3 as the default and note MiniMax-M2.7 is also supported.

The target text model IDs (MiniMax-M3, MiniMax-M2.7) come from the current model configuration; no model names, context windows, or URLs are hardcoded beyond the supported set.

Checks

  • node --test test/llm-minimax.test.mjs — 11/11 pass (unit + factory tests).
  • Integration tests skipped (no MINIMAX_API_KEY).

The MiniMax provider defaulted to MiniMax-M2.5 and its tests exercised
MiniMax-M2.5 only, so neither open PR calesthio#120 (M3) nor open PR calesthio#36 (M2.7)
covered both current target text model IDs. Expose the supported model
set (MiniMax-M3 as default plus MiniMax-M2.7) via a modelIds list and
update the unit and integration tests to cover both models, while
preserving the explicit LLM_MODEL override.
@octo-patch
octo-patch requested a review from calesthio as a code owner July 31, 2026 04:18
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