johann22 commited on
Commit
f4f7ea8
·
1 Parent(s): d768eff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -174,7 +174,7 @@ def generate(prompt, history, agent_name=agents[0], sys_prompt="", temperature=0
174
  token=token,
175
  )
176
  else:
177
- formatted_prompt = format_prompt(f"{prompts.COMPRESS_HISTORY_PROMPT}, {summary[0]}", history)
178
 
179
  #current_time = str(datetime.datetime.now().timestamp()).split(".",1)[0]
180
  #filename=f'{filename}-{current_time}'
 
174
  token=token,
175
  )
176
  else:
177
+ formatted_prompt = format_prompt(f"{prompts.COMPRESS_HISTORY_PROMPT.format(history=summary[0],focus=main_point[0])}, {summary[0]}", history)
178
 
179
  #current_time = str(datetime.datetime.now().timestamp()).split(".",1)[0]
180
  #filename=f'{filename}-{current_time}'