Skip to content

Commit 87374d7

Browse files
committed
add import for RunContext in docs
1 parent 92eb1d2 commit 87374d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/output.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ When [streaming responses](#streaming-model-responses), output validators are ca
477477
However, you can add a `partial: bool` parameter as the last argument to your validator to distinguish between partial and final validation. This is useful when you want to skip expensive validation during streaming but apply full validation to the final result:
478478

479479
```python
480-
from pydantic_ai import Agent, ModelRetry
480+
from pydantic_ai import Agent, ModelRetry, RunContext
481481

482482
agent = Agent('openai:gpt-4o')
483483

0 commit comments

Comments
 (0)