assistant: Only push text content if not empty with image content (#16270)
If you submit an image with empty space above it and text below, it will fail with this error:  Now instead it fails with an error about needing a message. <img width="640" alt="image" src="https://github.com/user-attachments/assets/72b267eb-b288-40a5-a829-750121ff16cc"> It will however work with text above and empty text below the image now. Release Notes: - Improved conformance with Anthropic Images in Chat Completions API
K
Kyle Kelley committed
bac39d77439b55d0349cd35b43c6c42303fc6be9
Parent: 46fb917
Committed by GitHub <noreply@github.com>
on 8/16/2024, 3:38:52 AM