(module_name, file_path)
| 60 | |
| 61 | |
| 62 | def _import_from_path(module_name, file_path): |
| 63 | spec = importlib.util.spec_from_file_location(module_name, file_path) |
| 64 | module = importlib.util.module_from_spec(spec) |
| 65 | sys.modules[module_name] = module |
| 66 | spec.loader.exec_module(module) |
| 67 | return module |
| 68 | |
| 69 | |
| 70 | def _get_agent_module(agent_module_file_path: str): |