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/output.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -472,14 +472,14 @@ _(This example is complete, it can be run "as is")_
472
472
473
473
#### Partial validation during streaming {#partial-validation}
474
474
475
-
When [streaming responses](#streaming-model-responses), you can pass allow_partial=True to validate_response_output to make Pydantic output validators use partial validation.
475
+
When [streaming responses](#streaming-model-responses), you can pass `allow_partial=True` to `validate_response_output` to make Pydantic output validators use partial validation.
476
476
477
477
By adding a `partial: bool` parameter as the last argument, you can access this information within output validator functions as well.
478
478
479
479
```python
480
480
from pydantic_ai import Agent, ModelRetry, RunContext
0 commit comments