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: pydantic_ai_slim/pydantic_ai/agent/__init__.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -253,7 +253,7 @@ def __init__(
253
253
model_settings: Optional model request settings to use for this agent's runs, by default.
254
254
retries: The default number of retries to allow for tool calls and output validation, before raising an error.
255
255
For model request retries, see the [HTTP Request Retries](../retries.md) documentation.
256
-
validation_context: Additional [validation context](https://docs.pydantic.dev/latest/concepts/validators/#validation-context) used to validate all outputs.
256
+
validation_context: Pydantic [validation context](https://docs.pydantic.dev/latest/concepts/validators/#validation-context) used to validate all outputs.
257
257
output_retries: The maximum number of retries to allow for output validation, defaults to `retries`.
258
258
tools: Tools to register with the agent, you can also register tools via the decorators
259
259
[`@agent.tool`][pydantic_ai.Agent.tool] and [`@agent.tool_plain`][pydantic_ai.Agent.tool_plain].
0 commit comments