Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions core/framework/server/routes_execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,8 @@ async def handle_pause(request: web.Request) -> web.Response:
runtime.pause_timers()

# Switch to staging (agent still loaded, ready to re-run)
if session.mode_state is not None:
await session.mode_state.switch_to_staging(source="frontend")
if session.phase_state is not None:
await session.phase_state.switch_to_staging(source="frontend")

return web.json_response(
{
Expand Down
Loading