[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

This commit is contained in:
ciregenz
2026-06-07 23:49:21 -07:00
parent 725578b2a8
commit ce8e74b96a
+4 -1
View File
@@ -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,
}