Skip to content

Commit 77df049

Browse files
committed
fix: record log content error
--bug=1052670 --user=王孝刚 应用-企业微信对接应用后,在企业微信中与应用对话,对话日志中<think></think>思考过程输出了两次 https://www.tapd.cn/57709429/s/1661186
1 parent e8c5595 commit 77df049

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/application/chat_pipeline/step/chat_step/impl/base_chat_step.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ def execute_block(self, message_list: List[BaseMessage],
301301
reasoning_content = reasoning_result.get('reasoning_content') + reasoning_result_end.get(
302302
'reasoning_content')
303303
post_response_handler.handler(chat_id, chat_record_id, paragraph_list, problem_text,
304-
chat_result.content, manage, self, padding_problem_text, client_id,
304+
content, manage, self, padding_problem_text, client_id,
305305
reasoning_content=reasoning_content if reasoning_content_enable else '')
306306
add_access_num(client_id, client_type, manage.context.get('application_id'))
307307
return manage.get_base_to_response().to_block_response(str(chat_id), str(chat_record_id),

0 commit comments

Comments
 (0)