Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -137,7 +137,7 @@ def chat_with_openai(message: str, history: list, temperature: float, max_new_to
|
|
137 |
# Immediately yield a "thinking" status message.
|
138 |
yield "HealthAssistant is Thinking! Please wait, your response will output shortly...\n\n"
|
139 |
|
140 |
-
think_result = think(
|
141 |
|
142 |
# Force the model to begin its answer with a "<think>" block.
|
143 |
conversation.append({"role": "assistant", "content": "<think>\n"+think_result+"\n</think>"})
|
|
|
137 |
# Immediately yield a "thinking" status message.
|
138 |
yield "HealthAssistant is Thinking! Please wait, your response will output shortly...\n\n"
|
139 |
|
140 |
+
think_result = think(conversation)
|
141 |
|
142 |
# Force the model to begin its answer with a "<think>" block.
|
143 |
conversation.append({"role": "assistant", "content": "<think>\n"+think_result+"\n</think>"})
|