• Resolved dkhz717

    (@dkhz717)


    Hello,

    First of all, thank you for the plugin, it works fantastically!
    However, I’ve been encountering a recurring issue with the Anthropic API, for which I haven’t found a solution, even after modifying the plugin.
    When I send an image in a chat message, I receive the following API error message:
    From Anthropic: messages.0.content.1.image.source: image exceeds 5 MB maximum: 6509824 bytes > 5242880 bytes

    This is strange because the image is only 3.5 MB. I’ve tried converting the image before uploading (both in terms of size and format, as the issue occurs with the iPhone HEIF format and also with Android-based JPG files).

    Could you help me with this?
    Thank you and happy holidays in advance! ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Val Meow

    (@valwa)

    Hey @dkhz717! ??

    I was unable to reproduce your issue using Anthropic’s models with vision. Could you try changing the Remote Upload method you are using to see if this resolves the problem? If not, please share an image that triggers the issue so I can test it in a controlled environment. Thank you for your cooperation!

    Thread Starter dkhz717

    (@dkhz717)

    Hi @valwa ,
    Thank you for the quick response! Based on your suggestion, I change the settings, and all the issues have been resolved. Thank you for your help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.