yangtb24 commited on
Commit
d76bc2b
·
verified ·
1 Parent(s): ea58edd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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"```Thinking\n{choice['message']['reasoning_content']}\n```"
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"]