wlchee commited on
Commit
112a802
·
verified ·
1 Parent(s): 37f6085

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -4
app.py CHANGED
@@ -64,13 +64,17 @@ class BasicAgent:
64
  "wikipedia": wikipedia_search,
65
  "search": self.search_tool
66
  }
 
 
67
  self.agent = CodeAgent(
68
  model=self.model,
69
- tools=self.tools,
70
- system_prompt="You are a helpful AI assistant with access to various tools. "
71
- "Analyze questions carefully and use the appropriate tools when needed. "
72
- "Provide clear, concise, and accurate answers."
73
  )
 
 
 
 
 
74
 
75
 
76
 
 
64
  "wikipedia": wikipedia_search,
65
  "search": self.search_tool
66
  }
67
+
68
+
69
  self.agent = CodeAgent(
70
  model=self.model,
71
+ tools=self.tools
 
 
 
72
  )
73
+ #self.agent = CodeAgent(
74
+ ### system_prompt="You are a helpful AI assistant with access to various tools. "
75
+ # "Analyze questions carefully and use the appropriate tools when needed. "
76
+ # "Provide clear, concise, and accurate answers."
77
+ #)
78
 
79
 
80