We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d83caa5 commit bfffd4bCopy full SHA for bfffd4b
tests/test_ui_web.py
@@ -5,14 +5,15 @@
5
import pytest
6
7
from pydantic_ai import Agent
8
-from pydantic_ai.ui.web import AI_MODELS, BUILTIN_TOOLS, create_chat_app
9
10
from .conftest import try_import
11
12
with try_import() as fastapi_import_successful:
13
from fastapi import FastAPI
14
from fastapi.testclient import TestClient
15
+ from pydantic_ai.ui.web import AI_MODELS, BUILTIN_TOOLS, create_chat_app
16
+
17
pytestmark = [
18
pytest.mark.skipif(not fastapi_import_successful, reason='fastapi not installed'),
19
]
0 commit comments