Skip to content

Commit fe4bc5a

Browse files
committed
fix: The process of closing the flow thinking during the output of the simple application was not recorded
1 parent 26fd308 commit fe4bc5a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,8 @@ def event_content(response,
150150
all_text = 'Exception:' + str(e)
151151
write_context(step, manage, 0, 0, all_text)
152152
post_response_handler.handler(chat_id, chat_record_id, paragraph_list, problem_text,
153-
all_text, manage, step, padding_problem_text, reasoning_content='')
153+
all_text, manage, step, padding_problem_text,
154+
reasoning_content=reasoning_content if reasoning_content_enable else '')
154155
if not manage.debug:
155156
add_access_num(chat_user_id, chat_user_type, manage.context.get('application_id'))
156157
yield manage.get_base_to_response().to_stream_chunk_response(chat_id, str(chat_record_id), 'ai-chat-node',

0 commit comments

Comments
 (0)