From 1e2c0c670501948d295abbd9ce5c8ada87bf7178 Mon Sep 17 00:00:00 2001 From: Kevin Hu Date: Tue, 6 Aug 2024 18:23:20 +0800 Subject: [PATCH] fix #1816 (#1829) ### What problem does this PR solve? #1816 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- agent/component/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/component/__init__.py b/agent/component/__init__.py index ea9e745be..199015e47 100644 --- a/agent/component/__init__.py +++ b/agent/component/__init__.py @@ -20,6 +20,6 @@ from .googlescholar import GoogleScholar, GoogleScholarParam def component_class(class_name): - m = importlib.import_module("graph.component") + m = importlib.import_module("agent.component") c = getattr(m, class_name) return c