Invalid model: gpt-3.5-* does not support image message content types

Another post is describing the same issue currently in gpt-4. It sounds like it sometimes works in gpt-4-turbo-2024-04-09 and not in other gpt-4-turbo* versions

One possible solution offered was to specify that the images returned are in SVG format, preventing the chatbot from erroring. This fix didnt work for me.