google / google/adk-go

Improve error handling in Event Processor by aggregating multiple LLM failures

Open
#798 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
8.8k
Forks
1k
Avg merge
3d 18h
Merged PRs (30d)
88

Description

Currently, the EventProcessor only captures the first error encountered during an invocation. Any subsequent errors are ignored, which leads to incomplete diagnostic information when multiple issues occur.

This issue proposes:

Merging multiple LLM error messages into a single, concatenated string.
Including the full error message in the terminal event's metadata.
Ensuring task actions (escalate/transfer) are preserved even when errors are reported.

This follows the TODO left in processor.go:
// TODO(yarolegovich): consider merging responses if multiple errors can be produced during an invocation

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.