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
+3
View File
@@ -123,6 +123,9 @@ class InMemoryProjectRepository:
def get(self, project_id: str) -> ProjectSnapshot | None:
return self._items.get(project_id)
def list(self) -> list[ProjectSnapshot]:
return sorted(self._items.values(), key=lambda item: item.updated_at, reverse=True)
def save(self, project: ProjectSnapshot) -> ProjectSnapshot:
self._items[project.project_id] = project
return project