Update app.py (#9)
Browse files- Update app.py (adbcedf7689f77f6116560b193441a8cbedc2921)
app.py
CHANGED
@@ -21,9 +21,9 @@ class BasicAgent:
|
|
21 |
custom_role_conversions=None,
|
22 |
)
|
23 |
self.agent = CodeAgent(
|
24 |
-
model =
|
25 |
tools = [DuckDuckGoSearchTool(), WikipediaSearchTool(), VisitWebpageTool()],
|
26 |
-
additional_authorized_imports = ["pandas", "numpy"]
|
27 |
)
|
28 |
SYSTEM_PROMPT = """You are a general AI assistant. I will ask you a question.
|
29 |
Report your thoughts, and finish your answer with the following template: FINAL ANSWER: [YOUR FINAL ANSWER].
|
|
|
21 |
custom_role_conversions=None,
|
22 |
)
|
23 |
self.agent = CodeAgent(
|
24 |
+
model = model,
|
25 |
tools = [DuckDuckGoSearchTool(), WikipediaSearchTool(), VisitWebpageTool()],
|
26 |
+
#additional_authorized_imports = ["pandas", "numpy"]
|
27 |
)
|
28 |
SYSTEM_PROMPT = """You are a general AI assistant. I will ask you a question.
|
29 |
Report your thoughts, and finish your answer with the following template: FINAL ANSWER: [YOUR FINAL ANSWER].
|