File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ export class OpenAiHandler extends BaseProvider implements SingleCompletionHandl
152152 messages : convertedMessages ,
153153 stream : true as const ,
154154 ...( isGrokXAI ? { } : { stream_options : { include_usage : true } } ) ,
155- reasoning_effort : modelId === "grok-3-mini-beta" ? "high" : this . getModel ( ) . info . reasoningEffort ,
155+ reasoning_effort : this . getModel ( ) . info . reasoningEffort ,
156156 }
157157
158158 if ( this . options . includeMaxTokens ) {
@@ -295,7 +295,7 @@ export class OpenAiHandler extends BaseProvider implements SingleCompletionHandl
295295 ] ,
296296 stream : true ,
297297 ...( isGrokXAI ? { } : { stream_options : { include_usage : true } } ) ,
298- reasoning_effort : modelId === "grok-3-mini-beta" ? "high" : this . getModel ( ) . info . reasoningEffort ,
298+ reasoning_effort : this . getModel ( ) . info . reasoningEffort ,
299299 } ,
300300 methodIsAzureAiInference ? { path : AZURE_AI_INFERENCE_PATH } : { } ,
301301 )
You can’t perform that action at this time.
0 commit comments