mirror of
https://github.com/EvolutionAPI/adk-python.git
synced 2026-02-04 13:56:24 -06:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user