mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-21 18:55:16 +02:00
chat/stream_new_chat: emit one SSE frame per pending interrupt
This commit is contained in:
parent
583ac83735
commit
c06dd6e8ba
5 changed files with 259 additions and 118 deletions
|
|
@ -10,7 +10,6 @@ from typing import Any
|
|||
class StreamingResult:
|
||||
accumulated_text: str = ""
|
||||
is_interrupted: bool = False
|
||||
interrupt_value: dict[str, Any] | None = None
|
||||
sandbox_files: list[str] = field(default_factory=list)
|
||||
agent_called_update_memory: bool = False
|
||||
request_id: str | None = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue