Omnibus commited on
Commit
83d03f0
·
1 Parent(s): 1a9d21a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -419,7 +419,7 @@ def run(purpose,history,data=None,file=None,url=None,pdf_url=None,pdf_batch=None
419
  task=None
420
  #history = ""
421
  if history:
422
- history=format_prompt(history)
423
  else: history=""
424
  action_name = "SEARCH_ENGINE" if task is None else "MAIN"
425
  action_input = None
 
419
  task=None
420
  #history = ""
421
  if history:
422
+ history=format_prompt(purpose, history)
423
  else: history=""
424
  action_name = "SEARCH_ENGINE" if task is None else "MAIN"
425
  action_input = None