Commit 8850645
committed
fix(a2a): set final=True for error TaskStatusUpdateEvent in event_converter
When a task transitions to TaskState.failed, the resulting
TaskStatusUpdateEvent should have final=True because the error state
is terminal — no further events will follow.
The existing from_adk_event.py already sets final=True for error events
(line 154), but event_converter.py incorrectly uses final=False, which
causes consumers to wait indefinitely for additional events after a
failure.
Closes #5388
Signed-off-by: Cocoon-Break <54054995+kuishou68@users.noreply.github.com>1 parent 7623ff1 commit 8850645
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
461 | 461 | | |
462 | 462 | | |
463 | 463 | | |
464 | | - | |
| 464 | + | |
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
| |||
0 commit comments