Title:
JSON Deserialization Failure When Including Images in Queries
Content:
Dear DeepSeek Team,
I encountered an error while using the DeepSeek model when attempting to include an image in my query. The system returned the following error message:
Failed to deserialize the JSON body into the target type: messages[3]: data did not match any variant of untagged enum ChatCompletionRequestContent at line 1 column 1673522
Steps to Reproduce:
Initiate a chat request containing both text and image data.
Submit the query to the DeepSeek API endpoint.
The error occurs consistently during JSON parsing of the input.
Expected Behavior:
The model should process multimodal inputs (text + image) without serialization errors.
Environment:
Model: DeepSeek
Input Format: Mixed (text + image)
Error Location: JSON deserialization at messages[3]