Skip to content

Commit a3beb6c

Browse files
committed
Document updates for #513
1 parent ea2328e commit a3beb6c

File tree

3 files changed

+9
-12
lines changed

3 files changed

+9
-12
lines changed

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

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

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,9 @@ const myAgent = new Agent({
5757
name: 'My Agent',
5858
instructions: "You're a helpful agent.",
5959
modelSettings: {
60-
providerData: {
61-
reasoning: { effort: 'minimal' },
62-
text: { verbosity: 'low' },
63-
},
60+
reasoning: { effort: 'minimal' },
61+
text: { verbosity: 'low' },
62+
},
6463
// If OPENAI_DEFAULT_MODEL=gpt-5 is set, passing only modelSettings works.
6564
// It's also fine to pass a GPT-5 model name explicitly:
6665
// model: 'gpt-5',

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,9 @@ const myAgent = new Agent({
5757
name: 'My Agent',
5858
instructions: "You're a helpful agent.",
5959
modelSettings: {
60-
providerData: {
61-
reasoning: { effort: 'minimal' },
62-
text: { verbosity: 'low' },
63-
},
60+
reasoning: { effort: 'minimal' },
61+
text: { verbosity: 'low' },
62+
},
6463
// If OPENAI_DEFAULT_MODEL=gpt-5 is set, passing only modelSettings works.
6564
// It's also fine to pass a GPT-5 model name explicitly:
6665
// model: 'gpt-5',

0 commit comments

Comments
 (0)