Returns root agent given the agent module.
(agent_module_file_path: str)
| 87 | |
| 88 | |
| 89 | def get_root_agent(agent_module_file_path: str) -> Agent: |
| 90 | """Returns root agent given the agent module.""" |
| 91 | agent_module = _get_agent_module(agent_module_file_path) |
| 92 | root_agent = agent_module.agent.root_agent |
| 93 | return root_agent |
| 94 | |
| 95 | |
| 96 | def try_get_reset_func(agent_module_file_path: str) -> Any: |
no test coverage detected