xu song commited on
Commit
d48f1cd
·
1 Parent(s): 4c4af51
Files changed (1) hide show
  1. models/cpp_qwen2.py +1 -1
models/cpp_qwen2.py CHANGED
@@ -130,7 +130,7 @@ class Qwen2Simulator(Simulator):
130
  if stream["choices"][0]["finish_reason"] is None:
131
  yield stream["choices"][0]["completion_text"], stream["choices"][0]["completion_tokens"]
132
  else:
133
- print(f'finish_reason with text: {stream["choices"][0]["text"]}')
134
 
135
 
136
  bot = Qwen2Simulator()
 
130
  if stream["choices"][0]["finish_reason"] is None:
131
  yield stream["choices"][0]["completion_text"], stream["choices"][0]["completion_tokens"]
132
  else:
133
+ logger.info(f'finish_reason {stream["choices"][0]["finish_reason"]} with text: {stream["choices"][0]["text"]}')
134
 
135
 
136
  bot = Qwen2Simulator()