feat: serve numbered source_markdown reads with citation preamble

This commit is contained in:
CREDO23 2026-06-19 17:37:41 +02:00
parent fc17b9becd
commit 188ae053ac
6 changed files with 78 additions and 44 deletions

View file

@ -71,7 +71,7 @@ class _KBBackendStub(KBPostgresBackend):
def __init__(self, *, children=None, file_data=None) -> None:
self.als_info = AsyncMock(return_value=children or [])
self._load_file_data = AsyncMock(
return_value=(file_data, 17) if file_data is not None else None
return_value=(file_data, 17, None) if file_data is not None else None
)