fix: Workflow embedding sub application thinking process switch cannot control thinking process output (#2502)
This commit is contained in:
parent
a738932e68
commit
b10147ea36
@ -307,11 +307,12 @@ class BaseChatStep(IChatStep):
|
|||||||
return manage.get_base_to_response().to_block_response(str(chat_id), str(chat_record_id),
|
return manage.get_base_to_response().to_block_response(str(chat_id), str(chat_record_id),
|
||||||
content, True,
|
content, True,
|
||||||
request_token, response_token,
|
request_token, response_token,
|
||||||
{'reasoning_content': reasoning_content,
|
{
|
||||||
'answer_list': [{
|
'reasoning_content': reasoning_content if reasoning_content_enable else '',
|
||||||
'content': content,
|
'answer_list': [{
|
||||||
'reasoning_content': reasoning_content
|
'content': content,
|
||||||
}]})
|
'reasoning_content': reasoning_content if reasoning_content_enable else ''
|
||||||
|
}]})
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
all_text = 'Exception:' + str(e)
|
all_text = 'Exception:' + str(e)
|
||||||
write_context(self, manage, 0, 0, all_text)
|
write_context(self, manage, 0, 0, all_text)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user