feat(viewer): show document summary together with the original (TODO.md L5)
This commit is contained in:
@@ -161,10 +161,12 @@ def test_anonymous_document_content_stays_public(client: TestClient, db) -> None
|
||||
"path",
|
||||
"title",
|
||||
"format",
|
||||
"summary", # nullable field added in phase 36 (null here — markdown)
|
||||
"content",
|
||||
"indexed_at",
|
||||
"chunks",
|
||||
}
|
||||
assert body["summary"] is None
|
||||
|
||||
# Unknown docs still 404 anonymously (no enumeration of titles).
|
||||
r = client.get("/api/documents/content", params={"source": "docs", "path": "nope.md"})
|
||||
|
||||
Reference in New Issue
Block a user