Fix typos in docstrings across multiple files (#101)

* Fix typos in docstrings across multiple files: 'conversaction' -> 'conversation' and 'dsiabled' -> 'disabled'. Update comments for clarity.

* Fix typos in comments and docstrings across multiple files

- Corrected "reqeust" to "request" in auth_preprocessor.py
- Fixed "credentails" to "credentials" in auth_tool.py
- Updated "agetn" to "agent" in cli_eval.py
- Changed "creiteria" to "criteria" in cli_tools_click.py

---------

Co-authored-by: fangyu <fangyu.jobs@gmail.com>
Co-authored-by: Hangfei Lin <hangfei@google.com>
This commit is contained in:
Fangyu
2025-04-11 22:19:57 -07:00
committed by GitHub
parent b68f3aa11f
commit ee2a75368a
9 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -112,14 +112,14 @@ def get_evaluation_criteria_or_default(
def get_root_agent(agent_module_file_path: str) -> Agent:
"""Returns root agent given the agetn module."""
"""Returns root agent given the agent module."""
agent_module = _get_agent_module(agent_module_file_path)
root_agent = agent_module.agent.root_agent
return root_agent
def try_get_reset_func(agent_module_file_path: str) -> Any:
"""Returns reset function for the agent, if present, given the agetn module."""
"""Returns reset function for the agent, if present, given the agent module."""
agent_module = _get_agent_module(agent_module_file_path)
reset_func = getattr(agent_module.agent, "reset_data", None)
return reset_func