tigerstride commited on
Commit
b428981
·
verified ·
1 Parent(s): 7235104

Conversational Memory

Browse files

Turn on convo memory, also add back the general web search tool

Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -35,10 +35,11 @@ crash_info_tool = load_crash_data()
35
 
36
  # Create Alfred with all the tools
37
  alfred = CodeAgent(
38
- tools=[guest_info_tool, weather_info_tool, hub_stats_tool, crash_info_tool], # remove search_tool for now. Just custom tools for testing
39
  model=model,
40
  add_base_tools=True, # Add any additional base tools
41
- planning_interval=3 # Enable planning every 3 steps
 
42
  )
43
 
44
  if __name__ == "__main__":
 
35
 
36
  # Create Alfred with all the tools
37
  alfred = CodeAgent(
38
+ tools=[guest_info_tool, weather_info_tool, hub_stats_tool, search_tool, crash_info_tool],
39
  model=model,
40
  add_base_tools=True, # Add any additional base tools
41
+ planning_interval=3, # Enable planning every 3 steps
42
+ memory=True # Enable conversation memory
43
  )
44
 
45
  if __name__ == "__main__":