From fe4bc5a1dca6587d51127af0b98cfdfcef41eda0 Mon Sep 17 00:00:00 2001 From: shaohuzhang1 Date: Thu, 30 Apr 2026 11:03:40 +0800 Subject: [PATCH] fix: The process of closing the flow thinking during the output of the simple application was not recorded --- .../chat_pipeline/step/chat_step/impl/base_chat_step.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/application/chat_pipeline/step/chat_step/impl/base_chat_step.py b/apps/application/chat_pipeline/step/chat_step/impl/base_chat_step.py index 00326d44f2c..b096f8f103b 100644 --- a/apps/application/chat_pipeline/step/chat_step/impl/base_chat_step.py +++ b/apps/application/chat_pipeline/step/chat_step/impl/base_chat_step.py @@ -150,7 +150,8 @@ def event_content(response, all_text = 'Exception:' + str(e) write_context(step, manage, 0, 0, all_text) post_response_handler.handler(chat_id, chat_record_id, paragraph_list, problem_text, - all_text, manage, step, padding_problem_text, reasoning_content='') + all_text, manage, step, padding_problem_text, + reasoning_content=reasoning_content if reasoning_content_enable else '') if not manage.debug: add_access_num(chat_user_id, chat_user_type, manage.context.get('application_id')) yield manage.get_base_to_response().to_stream_chunk_response(chat_id, str(chat_record_id), 'ai-chat-node',