feat(headless): add fastapi and uvicorn dependencies

This commit is contained in:
2026-02-25 12:41:01 -05:00
parent b66da31dd0
commit 02fc847166
3 changed files with 18 additions and 0 deletions

View File

@@ -10,6 +10,8 @@ dependencies = [
"anthropic", "anthropic",
"tomli-w", "tomli-w",
"psutil>=7.2.2", "psutil>=7.2.2",
"fastapi",
"uvicorn",
] ]
[dependency-groups] [dependency-groups]

Binary file not shown.

View File

@@ -0,0 +1,16 @@
import pytest
import importlib
def test_fastapi_installed():
"""Verify that fastapi is installed."""
try:
importlib.import_module("fastapi")
except ImportError:
pytest.fail("fastapi is not installed")
def test_uvicorn_installed():
"""Verify that uvicorn is installed."""
try:
importlib.import_module("uvicorn")
except ImportError:
pytest.fail("uvicorn is not installed")