Commit graph

2 commits

Author SHA1 Message Date
Sunny Yang
e9c6a850ad
feat: structured source document references in graph-rag responses (#1035) 2026-07-08 23:59:56 +01:00
cybermaggedon
aea4c2df8e
fix: library API get/update document round-trip bugs (#893) (#928)
Fix 5 cascading bugs in the Library API wrapper that prevented
the get_documents → update_document round-trip from working:

- Tolerate missing title field in document metadata (use .get())
- Use attribute access on Triple objects instead of subscript
- Serialize datetime to int seconds for JSON compatibility
- Handle empty server response on successful update
- Send both id and document-id keys in update request

Added library API tests
2026-05-16 11:32:51 +01:00