OuroborosM commited on
Commit
38e525d
·
1 Parent(s): 65d9d5b

remove memo

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -391,10 +391,17 @@ SUFFIX = """Begin!
391
  Question: {input}
392
  Thought:{agent_scratchpad}"""
393
 
 
 
 
 
 
 
 
394
  prompt = ZeroShotAgent.create_prompt(
395
  tools,
396
  prefix=PREFIX,
397
- suffix=SUFFIX,
398
  format_instructions=FORMAT_INSTRUCTIONS,
399
  input_variables=["input", "chat_history", "agent_scratchpad"]
400
  )
 
391
  Question: {input}
392
  Thought:{agent_scratchpad}"""
393
 
394
+ SUFFIX2 = """Begin!
395
+
396
+ {chat_history}
397
+ Question: {input}
398
+ Thought:{agent_scratchpad}"""
399
+
400
+
401
  prompt = ZeroShotAgent.create_prompt(
402
  tools,
403
  prefix=PREFIX,
404
+ suffix=SUFFIX2,
405
  format_instructions=FORMAT_INSTRUCTIONS,
406
  input_variables=["input", "chat_history", "agent_scratchpad"]
407
  )