Skip to content

Commit 2d4281d

Browse files
committed
Fix double import
1 parent b09095c commit 2d4281d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/models/index.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)