9jini commited on
Commit
d7b9255
·
verified ·
1 Parent(s): 8122588

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- SYSTEM_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,7 +40,7 @@ class BasicAgent:
40
  self.agent = CodeAgent(
41
  model = model,
42
  tools=[search_tool,wiki_search],
43
- prompt=SYSTEM_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