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:
@@ -80,7 +80,7 @@ echo "== dryrun =="
|
||||
DRY_OUT="$("$SCRIPT" --repo skynet/gac-scratch --run 42 --dryrun 2>&1)"
|
||||
assert_eq "dryrun exits 0" 0 $?
|
||||
assert_contains "dryrun shows gac command" "inspect skynet/gac-scratch --run 42" "$DRY_OUT"
|
||||
assert_contains "dryrun defaults to Flash" "MiniMax-M3.1-Flash-Preview" "$DRY_OUT"
|
||||
assert_contains "dryrun defaults to Flash" "MiniMax-M3.1-Flash" "$DRY_OUT"
|
||||
assert_contains "dryrun default effort low" "--effort low" "$DRY_OUT"
|
||||
assert_contains "dryrun defers fetch" "not fetched in dryrun" "$DRY_OUT"
|
||||
assert_contains "dryrun shows job passthrough default" "job: auto" "$DRY_OUT"
|
||||
|
||||
@@ -83,7 +83,7 @@ assert_contains "dryrun shows worktree path" ".claude/worktrees/mm-testslug" "$D
|
||||
assert_contains "dryrun shows branch name" "mm/testslug" "$DRY_OUT"
|
||||
assert_contains "dryrun shows bundle path" "testslug-bundle.md" "$DRY_OUT"
|
||||
assert_contains "dryrun shows the ask-minimax-run command" "ask-minimax-run" "$DRY_OUT"
|
||||
assert_contains "dryrun command defaults to Flash model" 'MiniMax-M3.1-Flash-Preview' "$DRY_OUT"
|
||||
assert_contains "dryrun command defaults to Flash model" 'MiniMax-M3.1-Flash' "$DRY_OUT"
|
||||
assert_contains "dryrun default effort max" "--effort max" "$DRY_OUT"
|
||||
M3_OUT="$("$SCRIPT" "$TEST_UUID" --slug testslug --m3 --dryrun 2>&1)"
|
||||
assert_eq "m3 dryrun exits 0" "0" "$?"
|
||||
|
||||
@@ -19,7 +19,7 @@ assert_contains "dryrun banner" "[dryrun]" "$out"
|
||||
assert_contains "nothing launched" "nothing launched" "$out"
|
||||
assert_contains "task text is the spec template" "OUT OF SCOPE: reporting that a symbol" "$out"
|
||||
assert_contains "context included" "Context: closes bug 1234" "$out"
|
||||
assert_contains "defaults to Flash" "--model MiniMax-M3.1-Flash-Preview --effort max" "$out"
|
||||
assert_contains "defaults to Flash" "--model MiniMax-M3.1-Flash --effort max" "$out"
|
||||
out_m3=$("$SCRIPT" launch --kind spec --name spec-Y --file "$TMP/spec.diff" --m3 -n 2>&1)
|
||||
assert_contains "--m3 uses M3 with no effort" "--model MiniMax-M3 --allowedTools" "$out_m3"
|
||||
assert_contains "output path uses tag" "spec-X-r1-result.md" "$out"
|
||||
|
||||
@@ -78,7 +78,7 @@ echo "== dryrun =="
|
||||
DRY_OUT="$("$SCRIPT" --worktree "$REPO" --dryrun 2>&1)"
|
||||
assert_eq "dryrun exits 0" 0 $?
|
||||
assert_contains "dryrun shows branch" "branch: feature" "$DRY_OUT"
|
||||
assert_contains "dryrun defaults to Flash" "MiniMax-M3.1-Flash-Preview" "$DRY_OUT"
|
||||
assert_contains "dryrun defaults to Flash" "MiniMax-M3.1-Flash" "$DRY_OUT"
|
||||
assert_contains "dryrun default effort max" "--effort max" "$DRY_OUT"
|
||||
M3_OUT="$("$SCRIPT" --worktree "$REPO" --m3 --dryrun 2>&1)"
|
||||
assert_eq "m3 dryrun exits 0" 0 $?
|
||||
|
||||
Reference in New Issue
Block a user