Fix typos in docstrings of evaluation_generator.py and event.py (#101) (#121)

* Fix typos in docstrings of evaluation_generator.py and event.py (#101)

Corrected 'resposnes' to 'responses', 'uncertainity' to 'uncertainty', 'conversaction' to 'conversation', and 'exeuction' to 'execution' in relevant docstrings for clarity.

* Fix typos in docstrings and comments across multiple files

Corrected 'detla' to 'delta', 'buil-in' to 'built-in', 'walkaround' to 'workaround', and 'conversaction' to 'conversation' for clarity in relevant files. Updated comments for consistency.

---------

Co-authored-by: Hangfei Lin <hangfei@google.com>
This commit is contained in:
fangyh20
2025-04-12 09:55:22 -07:00
committed by GitHub
parent d810ff7b28
commit 089c1e6428
9 changed files with 21 additions and 21 deletions

View File

@@ -70,7 +70,7 @@ class Event(LlmResponse):
agent_2, and agent_2 is the parent of agent_3.
Branch is used when multiple sub-agent shouldn't see their peer agents'
conversaction history.
conversation history.
"""
# The following are computed fields.
@@ -94,7 +94,7 @@ class Event(LlmResponse):
not self.get_function_calls()
and not self.get_function_responses()
and not self.partial
and not self.has_trailing_code_exeuction_result()
and not self.has_trailing_code_execution_result()
)
def get_function_calls(self) -> list[types.FunctionCall]:
@@ -115,7 +115,7 @@ class Event(LlmResponse):
func_response.append(part.function_response)
return func_response
def has_trailing_code_exeuction_result(
def has_trailing_code_execution_result(
self,
) -> bool:
"""Returns whether the event has a trailing code execution result."""