Spaces:
Sleeping
Sleeping
cyberosa
commited on
Commit
·
1c5e001
1
Parent(s):
9976bc6
disabling parameter for CodeAgent
Browse files
agents.py
CHANGED
@@ -100,15 +100,15 @@ class SkynetSingleAgent:
|
|
100 |
model=gemini_model,
|
101 |
name="skynet_agent",
|
102 |
description="Agent to answer questions and run code",
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
],
|
112 |
)
|
113 |
|
114 |
def __call__(self, question: str, file_path: Optional[str] = None) -> str:
|
|
|
100 |
model=gemini_model,
|
101 |
name="skynet_agent",
|
102 |
description="Agent to answer questions and run code",
|
103 |
+
# additional_authorized_imports=[
|
104 |
+
# "time",
|
105 |
+
# "numpy",
|
106 |
+
# "pandas",
|
107 |
+
# "io",
|
108 |
+
# "wiki",
|
109 |
+
# "typing",
|
110 |
+
# "subprocess",
|
111 |
+
# ],
|
112 |
)
|
113 |
|
114 |
def __call__(self, question: str, file_path: Optional[str] = None) -> str:
|