mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: record log content error
--bug=1052670 --user=王孝刚 应用-企业微信对接应用后,在企业微信中与应用对话,对话日志中<think></think>思考过程输出了两次 https://www.tapd.cn/57709429/s/1661186
This commit is contained in:
parent
3c3f47bb5b
commit
4fc429a8d1
|
|
@ -301,7 +301,7 @@ class BaseChatStep(IChatStep):
|
|||
reasoning_content = reasoning_result.get('reasoning_content') + reasoning_result_end.get(
|
||||
'reasoning_content')
|
||||
post_response_handler.handler(chat_id, chat_record_id, paragraph_list, problem_text,
|
||||
chat_result.content, manage, self, padding_problem_text, client_id,
|
||||
content, manage, self, padding_problem_text, client_id,
|
||||
reasoning_content=reasoning_content if reasoning_content_enable else '')
|
||||
add_access_num(client_id, client_type, manage.context.get('application_id'))
|
||||
return manage.get_base_to_response().to_block_response(str(chat_id), str(chat_record_id),
|
||||
|
|
|
|||
Loading…
Reference in New Issue