From f1180ecda21a3e3316bd965ef21dde5897f5d4a2 Mon Sep 17 00:00:00 2001 From: Cyber MacGeddon Date: Mon, 9 Mar 2026 12:54:57 +0000 Subject: [PATCH] Set end-of-stream correctly? --- trustgraph-base/trustgraph/schema/services/library.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trustgraph-base/trustgraph/schema/services/library.py b/trustgraph-base/trustgraph/schema/services/library.py index 37a3f6ad..4ec206ca 100644 --- a/trustgraph-base/trustgraph/schema/services/library.py +++ b/trustgraph-base/trustgraph/schema/services/library.py @@ -213,7 +213,8 @@ class LibrarianResponse: upload_sessions: list[UploadSession] = field(default_factory=list) # stream-document response - indicates final chunk in stream - end_of_stream: bool = False + # Default True so non-streaming operations are treated as final + end_of_stream: bool = True # FIXME: Is this right? Using persistence on librarian so that # message chunking works