Skip to content

Commit 5912f50

Browse files
committed
Fix browser_act success handling in semantic failure check
1 parent 78f435a commit 5912f50

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/agent/src/resources.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ function hasUnsatisfiedSemanticRead(reads: readonly BatchReadResult[]): boolean
195195
return reads.some((read) =>
196196
read.type === "browser_wait_for"
197197
? read.result.status !== "satisfied"
198-
: read.type === "browser_act" && (read.result.outcome === "didnt" || read.result.stop_reason !== undefined),
198+
: read.type === "browser_act" && read.result.outcome !== "worked",
199199
);
200200
}
201201

0 commit comments

Comments
 (0)