File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -168,8 +168,7 @@ contains all the exceptions encountered during the `run` execution.
168168=== "Python >=3.11"
169169
170170 ```python {title="fallback_model_failure.py" py="3.11"}
171- from pydantic_ai import Agent
172- from pydantic_ai import ModelHTTPError
171+ from pydantic_ai import Agent, ModelHTTPError
173172 from pydantic_ai.models.anthropic import AnthropicModel
174173 from pydantic_ai.models.fallback import FallbackModel
175174 from pydantic_ai.models.openai import OpenAIChatModel
@@ -195,8 +194,7 @@ contains all the exceptions encountered during the `run` execution.
195194 ```python {title="fallback_model_failure.py" noqa="F821" test="skip"}
196195 from exceptiongroup import catch
197196
198- from pydantic_ai import Agent
199- from pydantic_ai import ModelHTTPError
197+ from pydantic_ai import Agent, ModelHTTPError
200198 from pydantic_ai.models.anthropic import AnthropicModel
201199 from pydantic_ai.models.fallback import FallbackModel
202200 from pydantic_ai.models.openai import OpenAIChatModel
You can’t perform that action at this time.
0 commit comments