Initial Checks
Description
https://ai.pydantic.dev/retries/#custom-retry-logic
I directly copied the code and type checker complains. Seems the RetryConfig argument should be retry=retry_if_exception(custom_retry_condition).
Example Code
Python, Pydantic AI & LLM client version