mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-11 06:12:11 +02:00
Set end-of-stream correctly?
This commit is contained in:
parent
df1808768d
commit
f1180ecda2
1 changed files with 2 additions and 1 deletions
|
|
@ -213,7 +213,8 @@ class LibrarianResponse:
|
||||||
upload_sessions: list[UploadSession] = field(default_factory=list)
|
upload_sessions: list[UploadSession] = field(default_factory=list)
|
||||||
|
|
||||||
# stream-document response - indicates final chunk in stream
|
# 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
|
# FIXME: Is this right? Using persistence on librarian so that
|
||||||
# message chunking works
|
# message chunking works
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue