ensure browser control buttons in debugger are always on (#3626)

This commit is contained in:
Jonathan Dobson
2025-10-06 18:02:30 -04:00
committed by GitHub
parent f908a88e0e
commit 611b3bf81b
2 changed files with 3 additions and 4 deletions

View File

@@ -158,7 +158,6 @@ function Workspace({
const { data: workflowRun } = useWorkflowRunQuery();
const isFinalized = workflowRun ? statusIsFinalized(workflowRun) : false;
const interactor = workflowRun && isFinalized === false ? "agent" : "human";
const [openCycleBrowserDialogue, setOpenCycleBrowserDialogue] =
useState(false);
@@ -1273,11 +1272,11 @@ function Workspace({
activeDebugSession.browser_session_id &&
!cycleBrowser.isPending ? (
<BrowserStream
interactive={interactor === "human"}
interactive={true}
browserSessionId={
activeDebugSession.browser_session_id
}
showControlButtons={interactor === "human"}
showControlButtons={true}
resizeTrigger={windowResizeTrigger}
/>
) : (