Skip to content

Commit 1ffcfdd

Browse files
committed
test(talk): align browser E2E tool completion
1 parent 9fc0611 commit 1ffcfdd

1 file changed

Lines changed: 15 additions & 5 deletions

File tree

‎ui/src/e2e/browser-talk-start-stop.e2e.test.ts‎

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -509,11 +509,21 @@ describeControlUiE2e("Control UI browser Talk", () => {
509509
channel?.dispatchEvent(
510510
new MessageEvent("message", {
511511
data: JSON.stringify({
512-
type: "response.function_call_arguments.done",
513-
item_id: "item-camera",
514-
call_id: "call-camera",
515-
name: "describe_view",
516-
arguments: "{}",
512+
type: "response.done",
513+
response: {
514+
id: "response-camera",
515+
status: "completed",
516+
output: [
517+
{
518+
type: "function_call",
519+
id: "item-camera",
520+
status: "completed",
521+
call_id: "call-camera",
522+
name: "describe_view",
523+
arguments: "{}",
524+
},
525+
],
526+
},
517527
}),
518528
}),
519529
);

0 commit comments

Comments
 (0)