Skip to content

Commit 6930be4

Browse files
jazhang00copybara-github
authored andcommitted
fix: remove invalid event from 10_burgers sample test trace
Fix 10_burgers.json sample test replay by removing an erroneous premature function response event (e-4) that referenced tool call fc-3 before fc-3 was emitted by the model. Co-authored-by: Jason Zhang <jasoncz@google.com> PiperOrigin-RevId: 962270570
1 parent 5072828 commit 6930be4

1 file changed

Lines changed: 6 additions & 29 deletions

File tree

contributing/samples/multi_agent/task_sub_agent/tests/10_burgers.json

Lines changed: 6 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -59,29 +59,6 @@
5959
"path": "coordinator@1/order_collector@fc-1"
6060
}
6161
},
62-
{
63-
"author": "user",
64-
"content": {
65-
"parts": [
66-
{
67-
"functionResponse": {
68-
"id": "fc-3",
69-
"name": "adk_request_confirmation",
70-
"response": {
71-
"confirmed": true,
72-
"payload": {}
73-
}
74-
}
75-
}
76-
],
77-
"role": "user"
78-
},
79-
"id": "e-4",
80-
"invocationId": "",
81-
"nodeInfo": {
82-
"path": ""
83-
}
84-
},
8562
{
8663
"author": "user",
8764
"content": {
@@ -92,7 +69,7 @@
9269
],
9370
"role": "user"
9471
},
95-
"id": "e-5",
72+
"id": "e-4",
9673
"invocationId": "i-2",
9774
"nodeInfo": {
9875
"path": ""
@@ -110,7 +87,7 @@
11087
"role": "model"
11188
},
11289
"finishReason": "STOP",
113-
"id": "e-6",
90+
"id": "e-5",
11491
"invocationId": "i-2",
11592
"isolationScope": "fc-1",
11693
"nodeInfo": {
@@ -127,7 +104,7 @@
127104
],
128105
"role": "user"
129106
},
130-
"id": "e-7",
107+
"id": "e-6",
131108
"invocationId": "i-3",
132109
"nodeInfo": {
133110
"path": ""
@@ -149,7 +126,7 @@
149126
"role": "model"
150127
},
151128
"finishReason": "STOP",
152-
"id": "e-8",
129+
"id": "e-7",
153130
"invocationId": "i-3",
154131
"isolationScope": "fc-1",
155132
"longRunningToolIds": [],
@@ -182,7 +159,7 @@
182159
],
183160
"role": "model"
184161
},
185-
"id": "e-9",
162+
"id": "e-8",
186163
"invocationId": "i-3",
187164
"isolationScope": "fc-1",
188165
"longRunningToolIds": [
@@ -218,7 +195,7 @@
218195
],
219196
"role": "user"
220197
},
221-
"id": "e-10",
198+
"id": "e-9",
222199
"invocationId": "i-3",
223200
"isolationScope": "fc-1",
224201
"nodeInfo": {

0 commit comments

Comments
 (0)