You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/agents.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -467,6 +467,7 @@ This structure allows you to configure common parameters that influence the mode
467
467
`timeout`, and more.
468
468
469
469
There are two ways to apply these settings:
470
+
470
471
1. Passing to`run{_sync,_stream}` functions via the`model_settings` argument. This allows for fine-tuning on a per-request basis.
471
472
2. Setting during[`Agent`][pydantic_ai.agent.Agent] initialization via the`model_settings` argument. These settings will be applied by default to all subsequent run calls using said agent. However,`model_settings` provided during a specific run call will override the agent's default settings.