MiniMax: the model is MiniMax-M3.1-Flash (out of preview)

The API now answers MiniMax-M3.1-Flash-Preview as MiniMax-M3.1-Flash, and
accepts the new name directly. Verified 2026-11-03: a live call returns
"ok" with a 1M context window. Claude Code 2.1.317 prints an
unrecognized_model warning for either name; the session still runs.

Claude-Session: https://claude.ai/code/session_01CLUCNYsiEaER1CMqw5WqfY
This commit is contained in:
Paul O'Reilly
2026-11-03 21:15:16 +13:00
parent d8abe45ea5
commit b51d192a95
14 changed files with 15 additions and 15 deletions

View File

@@ -259,7 +259,7 @@ cmd_launch() {
*) die "unknown option: $1" 2 ;;
esac
done
if [[ $use_m3 -eq 1 ]]; then model="MiniMax-M3"; effort="$effort_arg"; else model="MiniMax-M3.1-Flash-Preview"; effort="${effort_arg:-max}"; fi
if [[ $use_m3 -eq 1 ]]; then model="MiniMax-M3"; effort="$effort_arg"; else model="MiniMax-M3.1-Flash"; effort="${effort_arg:-max}"; fi
[[ -z "$effort" || "$effort" =~ ^(low|medium|high|xhigh|max)$ ]] || die "--effort must be low|medium|high|xhigh|max" 2
[[ " $KINDS " == *" $kind "* ]] || die "--kind must be one of: $KINDS" 2
[[ "$name" =~ ^[A-Za-z0-9._-]+$ ]] || die "--name must match ^[A-Za-z0-9._-]+\$" 2