Skip to content

Commit 6498c87

Browse files
committed
Remove this check
1 parent 4311753 commit 6498c87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/api/providers/openai.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
)

0 commit comments

Comments
 (0)