Returns reset function for the agent, if present, given the agent module.
(agent_module_file_path: str)
| 94 | |
| 95 | |
| 96 | def try_get_reset_func(agent_module_file_path: str) -> Any: |
| 97 | """Returns reset function for the agent, if present, given the agent module.""" |
| 98 | agent_module = _get_agent_module(agent_module_file_path) |
| 99 | reset_func = getattr(agent_module.agent, "reset_data", None) |
| 100 | return reset_func |
| 101 | |
| 102 | |
| 103 | def parse_and_get_evals_to_run( |
nothing calls this directly
no test coverage detected