Files
google--adk-python/contributing/samples
Liang Wu 7fa13edacd fix(live): Buffer tool calls and emit them together upon turn completion
The `receive` method now accumulates function calls from multiple `LiveServerMessage` instances. These accumulated tool calls are yielded as a single `LlmResponse` containing all function call parts only when a turn_complete message is received.

Without the change, the tool_1's response is sent to the model as soon as it's generated, triggering a second call for tool_2. Upon receiving two consecutive tool_2's responses, the model utters the same message twice.
Fixes issue #4902

Co-authored-by: Liang Wu <wuliang@google.com>
PiperOrigin-RevId: 893197482
2026-04-01 17:45:51 -07:00
..
2026-03-10 21:48:28 -07:00
2026-01-20 14:50:09 -08:00
2026-01-20 14:50:09 -08:00
2026-03-04 18:48:47 -08:00
2026-03-04 18:48:47 -08:00
2026-01-20 14:50:09 -08:00