@@ -62,9 +62,9 @@ describe('editor agent', () => {
6262 expect ( gpt5Editor . model ) . toBe ( 'openai/gpt-5.1' )
6363 } )
6464
65- test ( 'creates minimax editor' , ( ) => {
66- const minimaxEditor = createCodeEditor ( { model : 'minimax ' } )
67- expect ( minimaxEditor . model ) . toBe ( 'minimax/minimax-m2.5 ' )
65+ test ( 'creates glm editor' , ( ) => {
66+ const glmEditor = createCodeEditor ( { model : 'glm ' } )
67+ expect ( glmEditor . model ) . toBe ( 'z-ai/glm-5.1 ' )
6868 } )
6969
7070 test ( 'gpt-5 editor does not include think tags in instructions' , ( ) => {
@@ -74,9 +74,9 @@ describe('editor agent', () => {
7474 } )
7575
7676 test ( 'glm editor does not include think tags in instructions' , ( ) => {
77- const minimaxEditor = createCodeEditor ( { model : 'minimax ' } )
78- expect ( minimaxEditor . instructionsPrompt ) . not . toContain ( '<think>' )
79- expect ( minimaxEditor . instructionsPrompt ) . not . toContain ( '</think>' )
77+ const glmEditor = createCodeEditor ( { model : 'glm ' } )
78+ expect ( glmEditor . instructionsPrompt ) . not . toContain ( '<think>' )
79+ expect ( glmEditor . instructionsPrompt ) . not . toContain ( '</think>' )
8080 } )
8181
8282 test ( 'opus editor includes think tags in instructions' , ( ) => {
@@ -88,17 +88,17 @@ describe('editor agent', () => {
8888 test ( 'all variants have same base properties' , ( ) => {
8989 const opusEditor = createCodeEditor ( { model : 'opus' } )
9090 const gpt5Editor = createCodeEditor ( { model : 'gpt-5' } )
91- const minimaxEditor = createCodeEditor ( { model : 'minimax ' } )
91+ const glmEditor = createCodeEditor ( { model : 'glm ' } )
9292
9393 // All should have same basic structure
9494 expect ( opusEditor . displayName ) . toBe ( gpt5Editor . displayName )
95- expect ( gpt5Editor . displayName ) . toBe ( minimaxEditor . displayName )
95+ expect ( gpt5Editor . displayName ) . toBe ( glmEditor . displayName )
9696
9797 expect ( opusEditor . outputMode ) . toBe ( gpt5Editor . outputMode )
98- expect ( gpt5Editor . outputMode ) . toBe ( minimaxEditor . outputMode )
98+ expect ( gpt5Editor . outputMode ) . toBe ( glmEditor . outputMode )
9999
100100 expect ( opusEditor . toolNames ) . toEqual ( gpt5Editor . toolNames )
101- expect ( gpt5Editor . toolNames ) . toEqual ( minimaxEditor . toolNames )
101+ expect ( gpt5Editor . toolNames ) . toEqual ( glmEditor . toolNames )
102102 } )
103103 } )
104104
0 commit comments