@@ -25,7 +25,7 @@ describe("parseCommand", () => {
2525describe ( "getSlashCommands" , ( ) => {
2626 beforeAll ( ( ) => {
2727 // Provider thinking policies are process-stable; warm the fallback before timing assertions.
28- getSlashCommands ( { provider : "anthropic " , model : "claude-sonnet-4-6 " , thinkingLevels : [ ] } ) ;
28+ getSlashCommands ( { provider : "minimax " , model : "MiniMax-M3 " , thinkingLevels : [ ] } ) ;
2929 } ) ;
3030
3131 it ( "provides level completions for built-in toggles" , ( ) => {
@@ -78,8 +78,8 @@ describe("getSlashCommands", () => {
7878
7979 it ( "falls back to provider-resolved levels when thinkingLevels is empty (#76482)" , ( ) => {
8080 const commands = getSlashCommands ( {
81- provider : "anthropic " ,
82- model : "claude-sonnet-4-6 " ,
81+ provider : "minimax " ,
82+ model : "MiniMax-M3 " ,
8383 thinkingLevels : [ ] , // empty from lightweight session row
8484 } ) ;
8585 const think = commands . find ( ( command ) => command . name === "think" ) ;
@@ -89,7 +89,10 @@ describe("getSlashCommands", () => {
8989 if ( ! Array . isArray ( completions ) ) {
9090 throw new Error ( "expected synchronous thinking-level completions" ) ;
9191 }
92- expect ( completions . length ) . toBeGreaterThan ( 0 ) ;
92+ expect ( completions ) . toEqual ( [
93+ { value : "off" , label : "off" } ,
94+ { value : "adaptive" , label : "adaptive" } ,
95+ ] ) ;
9396 } ) ;
9497
9598 it ( "merges dynamic gateway commands" , ( ) => {
0 commit comments