From ce8e74b96a3522a1a8211498ff2d85a0fa5efcf2 Mon Sep 17 00:00:00 2001 From: ciregenz Date: Sun, 7 Jun 2026 23:49:21 -0700 Subject: [PATCH] [eric] browser: skill-replay returns a normal OUTCOME line so the parent translates it, no more 'learned skill replay (N steps, no LLM)' leaking to users --- backend/apps/agents/browser/browser_agent.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/backend/apps/agents/browser/browser_agent.py b/backend/apps/agents/browser/browser_agent.py index 1cce8742..50ba229c 100644 --- a/backend/apps/agents/browser/browser_agent.py +++ b/backend/apps/agents/browser/browser_agent.py @@ -840,7 +840,10 @@ async def run_browser_agent( }) return { "session_id": session_id, "browser_id": browser_id, - "summary": f"Completed via learned skill replay ({len(steps)} steps, no LLM).", + # Same OUTCOME shape the LLM path emits, so the parent translates it + # into a plain human confirmation instead of leaking the replay + # mechanics ('skill replay / N steps / no LLM') to the user. + "summary": f"OUTCOME: DONE - {task}", "action_log": rlog, "final_screenshot": final_screenshot, "replayed": True, }