Skip to content

Commit db860ed

Browse files
committed
fix doctest
1 parent 6e74a2a commit db860ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydantic_ai_slim/pydantic_ai/agent/abstract.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ def run_stream_sync(
619619
620620
def main():
621621
with agent.run_stream_sync('What is the capital of the UK?') as response:
622-
print(response.get_output())
622+
print(response.get_output_sync())
623623
#> The capital of the UK is London.
624624
```
625625

0 commit comments

Comments
 (0)