fix: Simple application dialogue, non streaming, unable to respond to data (#2184)

This commit is contained in:
shaohuzhang1 2025-02-09 22:32:07 +08:00 committed by GitHub
parent 883a3b6d27
commit ce79e3947d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -275,7 +275,6 @@ class BaseChatStep(IChatStep):
request_token = 0
response_token = 0
write_context(self, manage, request_token, response_token, chat_result.content)
reasoning.get_reasoning_content(chat_result)
reasoning_result = reasoning.get_reasoning_content(chat_result)
content = reasoning_result.get('content')
if 'reasoning_content' in chat_result.response_metadata: