Update app.py
Browse files
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
|