Update app.py
Browse files
app.py
CHANGED
@@ -567,7 +567,7 @@ def handsome_chat_completions():
|
|
567 |
choice = response_json["choices"][0]
|
568 |
if "message" in choice:
|
569 |
if "reasoning_content" in choice["message"]:
|
570 |
-
formatted_reasoning = f"
|
571 |
response_content += formatted_reasoning + "\n"
|
572 |
if "content" in choice["message"]:
|
573 |
response_content += choice["message"]["content"]
|
|
|
567 |
choice = response_json["choices"][0]
|
568 |
if "message" in choice:
|
569 |
if "reasoning_content" in choice["message"]:
|
570 |
+
formatted_reasoning = f"debug-start\n{choice['message']['reasoning_content']}debug-end"
|
571 |
response_content += formatted_reasoning + "\n"
|
572 |
if "content" in choice["message"]:
|
573 |
response_content += choice["message"]["content"]
|