reedmayhew commited on
Commit
13528d2
·
verified ·
1 Parent(s): 03144a4

Update app.py

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