Moonfanz commited on
Commit
b25cdbe
·
verified ·
1 Parent(s): 8b094bd

Upload 4 files

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -536,7 +536,7 @@ def chat_completions():
536
  if is_thinking and show_thoughts:
537
  # 把thoughts加到text_content的前面再加一个回车
538
  text_content = response.thoughts + '\n' + text_content
539
- logger.info("finish_reason: ")
540
  except AttributeError as e:
541
  return jsonify({
542
  'error': {
 
536
  if is_thinking and show_thoughts:
537
  # 把thoughts加到text_content的前面再加一个回车
538
  text_content = response.thoughts + '\n' + text_content
539
+ logger.info(f"finish_reason: {finish_reason}")
540
  except AttributeError as e:
541
  return jsonify({
542
  'error': {