Spaces:
Running
Running
Update app.py
Browse files
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}'
|