[Bug] Concat OpenaiSDK reasoning content

This commit is contained in:
MaiziXiao 2025-04-24 09:48:43 +00:00
parent e2826a6f53
commit 6407994f67

View File

@ -663,7 +663,6 @@ class OpenAISDK(OpenAI):
# Check if response is empty or content is empty # Check if response is empty or content is empty
if (not responses.choices or not responses.choices[0].message if (not responses.choices or not responses.choices[0].message
or not responses.choices[0].message.content): or not responses.choices[0].message.content):
# self.logger.info('API responses: %s', responses)
self.logger.error( self.logger.error(
'Failed to extract content from the responses. ' 'Failed to extract content from the responses. '
'Please check the API response for detail information.' 'Please check the API response for detail information.'