Merge pull request #268 from Pythagora-io/minimal-front-logs-stream

Re-enable stream end tags for new listener setup
This commit is contained in:
LeonOstrez
2025-08-13 08:26:34 +02:00
committed by GitHub
5 changed files with 7 additions and 7 deletions

View File

@@ -346,7 +346,7 @@ class IPCServer:
await self._add_to_chat_history(project_state_id, convo, message, str(response))
# Send final message
# await send_stream_chunk(writer, message_type, None, request_id)
await send_stream_chunk(writer, message_type, None, request_id)
except (ConnectionResetError, BrokenPipeError) as err:
log.error(f"Failed to send streaming response: {err}", exc_info=True)

View File

@@ -228,7 +228,7 @@ class IPCClientUI(UIBase):
return
if chunk is None:
chunk = "\n" # end of stream
chunk = "<__stream_end__>" # end of stream
await self._send(
MessageType.STREAM,