feat(viewer): show document summary together with the original (TODO.md L5)

This commit is contained in:
2026-08-26 19:11:15 -04:00
parent 1925bb66a8
commit 9efffcb428
8 changed files with 501 additions and 7 deletions
+1
View File
@@ -98,6 +98,7 @@ def get_document_content(
path=doc.path,
title=doc.title,
format=doc_format(doc.path),
summary=doc.summary,
content=doc.content,
indexed_at=doc.indexed_at.isoformat(),
chunks=chunks,
+4
View File
@@ -105,6 +105,10 @@ class DocContent(BaseModel):
path: str
title: str
format: str
#: Lite-model summary (phase 30) — non-markdown A9 docs only; None for
#: markdown documents, pre-phase-30 rows, and the fail-soft path where
#: summary generation failed but the document was still indexed.
summary: str | None = None
content: str
indexed_at: str
chunks: int