mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-09-12 20:57:42 +02:00
[eric] browser: send-probe gate catches focus-type payloads, batched Enter blocked while composer pending
This commit is contained in:
@@ -1246,7 +1246,8 @@ async def run_browser_agent(
|
||||
# Hard send-guard: an irreversible step physically cannot ride in a
|
||||
# batch (the solo-send rule was prompt-only before; prompts drift).
|
||||
_guard_why = (browser_batch_replay.live_batch_guard(
|
||||
(tool_input or {}).get("actions"), attached_state_seen)
|
||||
(tool_input or {}).get("actions"), attached_state_seen,
|
||||
composer_pending=bool(browser_batch_replay.send_payload_from_log(action_log)))
|
||||
if tu.name == "BrowserBatch" else "")
|
||||
if _guard_why:
|
||||
batch_guard_blocks += 1
|
||||
|
||||
Reference in New Issue
Block a user