Vjay15 commited on
Commit
c2ae850
·
verified ·
1 Parent(s): df85703

Upload agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -1
agent.py CHANGED
@@ -40,7 +40,7 @@ def get_agent():
40
  tools=[fetch_page_text, fetch_page_scripts, run_python_code, transcribe_audio, understand_image, call_api, execute_python, read_pdf, read_zip, search_history],
41
  markdown=True,
42
  debug_mode=True,
43
- db=SqliteDb(db_file="/tmp/agent_memory.db", table_name="agent_sessions"),
44
  add_history_to_context=True
45
  )
46
  return agent
 
40
  tools=[fetch_page_text, fetch_page_scripts, run_python_code, transcribe_audio, understand_image, call_api, execute_python, read_pdf, read_zip, search_history],
41
  markdown=True,
42
  debug_mode=True,
43
+ db=SqliteDb(db_file=os.getenv("AGENT_DB_FILE", "/tmp/agent_memory.db")),
44
  add_history_to_context=True
45
  )
46
  return agent