Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ from smolagents import CodeAgent, DuckDuckGoSearchTool, OpenAIServerModel, Wikip
|
|
| 10 |
# --- Constants ---
|
| 11 |
DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
| 12 |
|
| 13 |
-
|
| 14 |
You are GAIA-Bot, a fully-autonomous problem-solver.
|
| 15 |
• For each question, THINK step-by-step before answering.
|
| 16 |
• When outside knowledge or calculations are needed, CALL an appropriate tool.
|
|
@@ -40,7 +40,7 @@ class BasicAgent:
|
|
| 40 |
self.agent = CodeAgent(
|
| 41 |
model = model,
|
| 42 |
tools=[search_tool,wiki_search],
|
| 43 |
-
prompt=
|
| 44 |
|
| 45 |
)
|
| 46 |
|
|
|
|
| 10 |
# --- Constants ---
|
| 11 |
DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
| 12 |
|
| 13 |
+
prompt = """
|
| 14 |
You are GAIA-Bot, a fully-autonomous problem-solver.
|
| 15 |
• For each question, THINK step-by-step before answering.
|
| 16 |
• When outside knowledge or calculations are needed, CALL an appropriate tool.
|
|
|
|
| 40 |
self.agent = CodeAgent(
|
| 41 |
model = model,
|
| 42 |
tools=[search_tool,wiki_search],
|
| 43 |
+
prompt=prompt,
|
| 44 |
|
| 45 |
)
|
| 46 |
|