Kevin Hu
commited on
Commit
·
d8fedda
1
Parent(s):
6ed07a9
fix #1816 (#1829)
Browse files### What problem does this PR solve?
#1816
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
agent/component/__init__.py
CHANGED
|
@@ -20,6 +20,6 @@ from .googlescholar import GoogleScholar, GoogleScholarParam
|
|
| 20 |
|
| 21 |
|
| 22 |
def component_class(class_name):
|
| 23 |
-
m = importlib.import_module("
|
| 24 |
c = getattr(m, class_name)
|
| 25 |
return c
|
|
|
|
| 20 |
|
| 21 |
|
| 22 |
def component_class(class_name):
|
| 23 |
+
m = importlib.import_module("agent.component")
|
| 24 |
c = getattr(m, class_name)
|
| 25 |
return c
|