File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
pydantic_ai_slim/pydantic_ai/agent Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -259,7 +259,8 @@ def __init__(
259
259
name: The name of the agent, used for logging. If `None`, we try to infer the agent name from the call frame
260
260
when the agent is first run.
261
261
model_settings: Optional model request settings to use for this agent's runs, by default.
262
- retries: The default number of retries to allow before raising an error.
262
+ retries: The default number of retries to allow for tool calls and output validation, before raising an error.
263
+ For model request retries, see the [HTTP Request Retries](../retries.md) documentation.
263
264
output_retries: The maximum number of retries to allow for output validation, defaults to `retries`.
264
265
tools: Tools to register with the agent, you can also register tools via the decorators
265
266
[`@agent.tool`][pydantic_ai.Agent.tool] and [`@agent.tool_plain`][pydantic_ai.Agent.tool_plain].
You can’t perform that action at this time.
0 commit comments