Skip to content

Commit a03eb98

Browse files
authored
Fix typo in type checking note (#518)
1 parent 9ae0309 commit a03eb98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/agents.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ PydanticAI is designed to work well with static type checkers, like mypy and pyr
251251

252252
That said, because PydanticAI uses Pydantic, and Pydantic uses type hints as the definition for schema and validation, some types (specifically type hints on parameters to tools, and the `result_type` arguments to [`Agent`][pydantic_ai.Agent]) are used at runtime.
253253

254-
We (the library developers) have messed up if type hints are confusing you more than they're help you, if you find this, please create an [issue](https://github.com/pydantic/pydantic-ai/issues) explaining what's annoying you!
254+
We (the library developers) have messed up if type hints are confusing you more than helping you, if you find this, please create an [issue](https://github.com/pydantic/pydantic-ai/issues) explaining what's annoying you!
255255

256256
In particular, agents are generic in both the type of their dependencies and the type of results they return, so you can use the type hints to ensure you're using the right types.
257257

0 commit comments

Comments
 (0)