We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4fbf09 commit 562256cCopy full SHA for 562256c
apps/application/flow/workflow_manage.py
@@ -335,7 +335,9 @@ def run_block(self, language='zh'):
335
answer_tokens = sum([row.get('answer_tokens') for row in details.values() if
336
'answer_tokens' in row and row.get('answer_tokens') is not None])
337
answer_text_list = self.get_answer_text_list()
338
- answer_text = '\n\n'.join(answer['content'] for answer in answer_text_list)
+ answer_text = '\n\n'.join(
339
+ '\n\n'.join([a.get('content') for a in answer]) for answer in
340
+ answer_text_list)
341
self.work_flow_post_handler.handler(self.params['chat_id'], self.params['chat_record_id'],
342
answer_text,
343
self)
0 commit comments