Jon/browser session stream (#2910)

This commit is contained in:
Jonathan Dobson
2025-07-09 15:31:02 -04:00
committed by GitHub
parent f7f7778681
commit 188884d76e
4 changed files with 289 additions and 8 deletions

View File

@@ -78,7 +78,7 @@ class CommandChannel:
if self.websocket.client_state not in (WebSocketState.CONNECTED, WebSocketState.CONNECTING):
return False
if not self.workflow_run:
if not self.workflow_run and not self.browser_session:
return False
if not get_command_client(self.client_id):
@@ -231,7 +231,7 @@ class Streaming:
if self.websocket.client_state not in (WebSocketState.CONNECTED, WebSocketState.CONNECTING):
return False
if not self.task and not self.workflow_run:
if not self.task and not self.workflow_run and not self.browser_session:
return False
if not get_streaming_client(self.client_id):