dify icon indicating copy to clipboard operation
dify copied to clipboard

VertexAI Claude 3.5 Sonnet v2 Error when Sending a Message with Files

Open lema-founders opened this issue 9 months ago • 2 comments

Self Checks

  • [x] This is only for bug report, if you would like to ask a question, please head to Discussions.
  • [x] I have searched for existing issues search for existing issues, including closed ones.
  • [x] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • [x] Please do not modify this template :) and fill in all the required fields.

Dify version

v1.1.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

  1. Use files input field

Image

  1. Use Vertex Claude 3.5 Sonnet v2 model

Image

  1. Upload a file through files input field and send a message (can be anything like a random .png)

Image

✔️ Expected Behavior

Model recognizing the file and using it to generate LLM output

❌ Actual Behavior

[vertex_ai] Error: PluginInvokeError: {"args":{"description":"[models] Error: 'list' object has no attribute 'strip'"},"error_type":"InvokeError","message":"[models] Error: 'list' object has no attribute 'strip'"}

Image

lema-founders avatar Mar 22 '25 08:03 lema-founders