reedmayhew commited on
Commit
61683c1
·
verified ·
1 Parent(s): 79a8b0c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -139,7 +139,7 @@ def chat_with_openai(message: str, history: list, temperature: float, max_new_to
139
  # Indicate that the assistant is thinking.
140
  yield "HealthAssistant is Thinking! Please wait, your response will output shortly. This may take 30-60 seconds...\n\n"
141
  think_result = think(conversation)
142
- conversation.append({"role": "assistant", "content": "<think>\n" + think_result + "\n</think>"})
143
  else:
144
  yield "HealthAssistant is Thinking! Please wait, your response will output shortly...\n\n"
145
 
 
139
  # Indicate that the assistant is thinking.
140
  yield "HealthAssistant is Thinking! Please wait, your response will output shortly. This may take 30-60 seconds...\n\n"
141
  think_result = think(conversation)
142
+ conversation.append({"role": "assistant", "content": "<think>\n" + think_result + "\n</think> I will now provide a response:\n\n"})
143
  else:
144
  yield "HealthAssistant is Thinking! Please wait, your response will output shortly...\n\n"
145