@@ -15,7 +15,6 @@ describe('mimo model adapter', () => {
1515
1616 expect ( result . config ) . toEqual ( {
1717 temperature : 0 ,
18- response_format : { type : 'text' } ,
1918 thinking : { type : 'disabled' } ,
2019 } ) ;
2120 } ) ;
@@ -48,7 +47,6 @@ describe('mimo model adapter', () => {
4847 expect ( result . config ) . toEqual ( {
4948 temperature : 0.7 ,
5049 seed : 123 ,
51- response_format : { type : 'text' } ,
5250 thinking : { type : 'disabled' } ,
5351 } ) ;
5452 } ) ;
@@ -69,12 +67,10 @@ describe('mimo model adapter', () => {
6967
7068 expect ( disabledResult . config ) . toEqual ( {
7169 temperature : 0 ,
72- response_format : { type : 'text' } ,
7370 thinking : { type : 'disabled' } ,
7471 } ) ;
7572 expect ( enabledResult . config ) . toEqual ( {
7673 temperature : 0 ,
77- response_format : { type : 'text' } ,
7874 thinking : { type : 'enabled' } ,
7975 } ) ;
8076 } ) ;
@@ -93,7 +89,6 @@ describe('mimo model adapter', () => {
9389 ] ) ;
9490 expect ( result . config ) . toEqual ( {
9591 temperature : 0 ,
96- response_format : { type : 'text' } ,
9792 thinking : { type : 'disabled' } ,
9893 } ) ;
9994 } ) ;
@@ -107,20 +102,18 @@ describe('mimo model adapter', () => {
107102
108103 expect ( result . config ) . toEqual ( {
109104 temperature : 0.7 ,
110- response_format : { type : 'text' } ,
111105 thinking : { type : 'disabled' } ,
112106 } ) ;
113107 } ) ;
114108
115- it ( 'uses text response format for planning intent' , ( ) => {
109+ it ( 'does not set response format for planning intent' , ( ) => {
116110 const result = mimoAdapter . chatCompletion . buildChatCompletionParams ( {
117111 intent : 'planning' ,
118112 userConfig : { } ,
119113 } ) ;
120114
121115 expect ( result . config ) . toEqual ( {
122116 temperature : 0 ,
123- response_format : { type : 'text' } ,
124117 thinking : { type : 'disabled' } ,
125118 } ) ;
126119 } ) ;
@@ -138,8 +131,6 @@ describe('mimo model adapter', () => {
138131 expect ( defaultResult . config . response_format ) . toEqual ( {
139132 type : 'json_object' ,
140133 } ) ;
141- expect ( insightResult . config . response_format ) . toEqual ( {
142- type : 'text' ,
143- } ) ;
134+ expect ( insightResult . config . response_format ) . toBeUndefined ( ) ;
144135 } ) ;
145136} ) ;
0 commit comments