Skip to content

Commit c1913e2

Browse files
committed
docs: fix provider option in gpt-5 guide
1 parent d370c12 commit c1913e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/cookbook/00-guides/23-gpt-5.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Here are the key strategies for effective prompting:
2828

2929
**1. Agentic Workflow Control**
3030

31-
- Adjust the `reasoning_effort` parameter to calibrate model autonomy
31+
- Adjust the `reasoningEffort` parameter to calibrate model autonomy
3232
- Set clear stop conditions and define explicit tool call budgets
3333
- Provide guidance on exploration depth and persistence
3434

@@ -39,7 +39,7 @@ const result = await generateText({
3939
prompt: 'Analyze this complex dataset and provide insights.',
4040
providerOptions: {
4141
openai: {
42-
reasoning_effort: 'high', // Increases autonomous exploration
42+
reasoningEffort: 'high', // Increases autonomous exploration
4343
},
4444
},
4545
});

0 commit comments

Comments
 (0)