BenjaminKaindu0506 commited on
Commit
587896d
·
verified ·
1 Parent(s): 01349a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -16,15 +16,11 @@ from smolagents import CodeAgent, InferenceClientModel, DuckDuckGoSearchTool
16
  class BasicAgent:
17
  def __init__(self):
18
  print("Initializing Smolagent...")
19
- system_message = """You are an expert research assistant.
20
- You perform multi-step research to provide an accurate, concise answer.
21
- IMPORTANT: Output ONLY the final answer value (number, name, or comma-separated list).
22
- Do NOT include 'FINAL ANSWER:' or conversational text.
23
- """
24
  self.agent = CodeAgent(
25
  tools=[DuckDuckGoSearchTool()],
26
  model=InferenceClientModel("Qwen/Qwen2.5-Coder-32B-Instruct"),
27
- system_prompt=system_message,
28
  max_steps=10
29
  )
30
 
 
16
  class BasicAgent:
17
  def __init__(self):
18
  print("Initializing Smolagent...")
19
+
 
 
 
 
20
  self.agent = CodeAgent(
21
  tools=[DuckDuckGoSearchTool()],
22
  model=InferenceClientModel("Qwen/Qwen2.5-Coder-32B-Instruct"),
23
+ #system_prompt=system_message,
24
  max_steps=10
25
  )
26