mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-09-08 10:47:44 +02:00
[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:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user