From d861b36ac88219d0354f01de171f18ac6ce9365e Mon Sep 17 00:00:00 2001 From: Greg Christian Date: Fri, 19 Dec 2025 15:12:13 -0700 Subject: [PATCH] fix: Correct typos in runners.py comments - Fix 'ouput' to 'output' (2 occurrences) - Fix 'paritla' to 'partial' - Add missing space in 'only.For' to 'only. For' --- src/google/adk/runners.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/google/adk/runners.py b/src/google/adk/runners.py index 1773729719..3c99920e0b 100644 --- a/src/google/adk/runners.py +++ b/src/google/adk/runners.py @@ -651,7 +651,7 @@ def _should_append_event(self, event: Event, is_live_call: bool) -> bool: # Don't append audio response from model in live mode to session. # The data is appended to artifacts with a reference in file_data in the # event. - # We should append non-partial events only.For example, non-finished(partial) + # We should append non-partial events only. For example, non-finished(partial) # transcription events should not be appended. # Function call and function response events should be appended. # Other control events should be appended. @@ -730,7 +730,7 @@ async def _exec_with_plugin( buffered_events.append(event) continue # Note for live/bidi: for audio response, it's considered as - # non-paritla event(event.partial=None) + # non-partial event(event.partial=None) # event.partial=False and event.partial=None are considered as # non-partial event; event.partial=True is considered as partial # event. @@ -870,7 +870,7 @@ async def run_live( **Events Yielded to Callers:** * **Live Model Audio Events with Inline Data:** Events containing raw audio `Blob` data(`inline_data`). - * **Live Model Audio Events with File Data:** Both input and ouput audio + * **Live Model Audio Events with File Data:** Both input and output audio data are aggregated into a audio file saved into artifacts. The reference to the file is saved in the event as `file_data`. * **Usage Metadata:** Events containing token usage. @@ -880,7 +880,7 @@ async def run_live( * **Other Control Events:** Most control events are saved. **Events Saved to the Session:** - * **Live Model Audio Events with File Data:** Both input and ouput audio + * **Live Model Audio Events with File Data:** Both input and output audio data are aggregated into a audio file saved into artifacts. The reference to the file is saved as event in the `file_data` to session if RunConfig.save_live_model_audio_to_session is True.