Skip to content

Commit b746a56

Browse files
committed
feat: Non streaming response answers_list
1 parent b446151 commit b746a56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,10 +308,10 @@ def execute_block(self, message_list: List[BaseMessage],
308308
content, True,
309309
request_token, response_token,
310310
{'reasoning_content': reasoning_content,
311-
'answer_list': {
311+
'answer_list': [{
312312
'content': content,
313313
'reasoning_content': reasoning_content
314-
}})
314+
}]})
315315
except Exception as e:
316316
all_text = 'Exception:' + str(e)
317317
write_context(self, manage, 0, 0, all_text)

0 commit comments

Comments
 (0)