Skip to content

Commit 3663021

Browse files
drewbyseratch
andauthored
GPT‑5 model settings under providerData (#470)
Co-authored-by: Kazuhiro Sera <[email protected]>
1 parent 3984db8 commit 3663021

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/src/content/docs/guides/models.mdx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,10 @@ const myAgent = new Agent({
6161
name: 'My Agent',
6262
instructions: "You're a helpful agent.",
6363
modelSettings: {
64-
reasoning: { effort: 'minimal' },
65-
text: { verbosity: 'low' },
66-
},
64+
providerData: {
65+
reasoning: { effort: 'minimal' },
66+
text: { verbosity: 'low' },
67+
},
6768
// If OPENAI_DEFAULT_MODEL=gpt-5 is set, passing only modelSettings works.
6869
// It's also fine to pass a GPT-5 model name explicitly:
6970
// model: 'gpt-5',

0 commit comments

Comments
 (0)