joao-vectara commited on
Commit
9d2951a
·
verified ·
1 Parent(s): cb9303b

Update agent.py

Browse files

Saving query history.

Files changed (1) hide show
  1. agent.py +2 -1
agent.py CHANGED
@@ -58,7 +58,8 @@ def create_assistant_tools(cfg):
58
  summary_num_results = 10,
59
  vectara_summarizer = summarizer,
60
  include_citations = True,
61
- vectara_prompt_text=prompt
 
62
  )
63
 
64
  tools_factory = ToolsFactory()
 
58
  summary_num_results = 10,
59
  vectara_summarizer = summarizer,
60
  include_citations = True,
61
+ vectara_prompt_text=prompt,
62
+ save_history = True
63
  )
64
 
65
  tools_factory = ToolsFactory()