Spaces:
Sleeping
Sleeping
cyberosa
commited on
Commit
·
88227bb
1
Parent(s):
ad54405
removing authorized imports param
Browse files
agents.py
CHANGED
@@ -94,15 +94,6 @@ class SkynetSingleAgent:
|
|
94 |
name="skynet_agent",
|
95 |
description="Agent to answer questions and to search in the web using google search tool",
|
96 |
prompt_templates=prompt_templates,
|
97 |
-
# additional_authorized_imports=[
|
98 |
-
# "time",
|
99 |
-
# "numpy",
|
100 |
-
# "pandas",
|
101 |
-
# "io",
|
102 |
-
# "wiki",
|
103 |
-
# "typing",
|
104 |
-
# "subprocess",
|
105 |
-
# ],
|
106 |
)
|
107 |
|
108 |
def __call__(self, question: str, file_path: Optional[str] = None) -> str:
|
|
|
94 |
name="skynet_agent",
|
95 |
description="Agent to answer questions and to search in the web using google search tool",
|
96 |
prompt_templates=prompt_templates,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
)
|
98 |
|
99 |
def __call__(self, question: str, file_path: Optional[str] = None) -> str:
|