Skip to content

Commit 92e366a

Browse files
committed
feat: Non streaming response answers_list
1 parent a3dd488 commit 92e366a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,11 @@ def execute_block(self, message_list: List[BaseMessage],
307307
return manage.get_base_to_response().to_block_response(str(chat_id), str(chat_record_id),
308308
content, True,
309309
request_token, response_token,
310-
{'reasoning_content': reasoning_content})
310+
{'reasoning_content': reasoning_content,
311+
'answer_list': {
312+
'content': content,
313+
'reasoning_content': reasoning_content
314+
}})
311315
except Exception as e:
312316
all_text = 'Exception:' + str(e)
313317
write_context(self, manage, 0, 0, all_text)

0 commit comments

Comments
 (0)