feat(ui): clickable document viewer — open any cited document in the browser from chat chips and the sources table
This commit is contained in:
@@ -61,3 +61,15 @@ class DocList(BaseModel):
|
||||
"""Response of ``GET /api/docs`` (empty list → designed empty state)."""
|
||||
|
||||
documents: list[DocSummary]
|
||||
|
||||
|
||||
class DocContent(BaseModel):
|
||||
"""One indexed document's full content (feeds the viewer page, phase 10)."""
|
||||
|
||||
source: str
|
||||
path: str
|
||||
title: str
|
||||
format: str
|
||||
content: str
|
||||
indexed_at: str
|
||||
chunks: int
|
||||
|
||||
Reference in New Issue
Block a user