feat: add real PDF ingestion workflow

This commit is contained in:
Codex
2026-08-02 00:29:40 +08:00
parent 0eb2a86f36
commit 4d97a30616
18 changed files with 986 additions and 93 deletions
+4
View File
@@ -3,7 +3,9 @@ import pytest
from pathlib import Path
from app.config import Settings
from app.api.routes import get_project_repository
from app.main import app
from app.repositories.memory import InMemoryProjectRepository
from app.runtime_settings import EncryptedSettingsStore, get_runtime_store
@@ -17,7 +19,9 @@ def transport(tmp_path: Path) -> httpx.ASGITransport:
redis_url="redis://:secret@redis:6379/0",
)
)
repository = InMemoryProjectRepository()
app.dependency_overrides[get_runtime_store] = lambda: store
app.dependency_overrides[get_project_repository] = lambda: repository
return httpx.ASGITransport(app=app)