LLM nodes using Gemini 2.5 series models throw errors when parsing uploaded files in Chatflow #599

Closed
opened 2026-02-16 10:19:51 -05:00 by yindo · 4 comments
Owner

Originally created by @bossyang on GitHub (Aug 28, 2025).

Self Checks

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

Dify version

1.7.2

Plugin version

0.0.23

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

  1. Create a Chatflow app
  2. Create a file variable in Start node
  3. Select the Gemini 2.5 model, check the Visual option, and associate the variable from the previous step.
  4. It works with Claude Sonnet 4. All models are provided by the Vertex AI plugin.

Gemini 2.5

Image

Claude Sonnet 4

Image

✔️ Error log

Run failed: [vertex_ai] Error: req_id: 711e14f23b PluginInvokeError: {"args":{},"error_type":"AttributeError","message":"'list' object has no attribute 'get'"}
Originally created by @bossyang on GitHub (Aug 28, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [Dify issues](https://github.com/langgenius/dify/issues) & [Dify Official Plugins](https://github.com/langgenius/dify-official-plugins/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.7.2 ### Plugin version 0.0.23 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce 1. Create a Chatflow app 2. Create a file variable in Start node 3. Select the Gemini 2.5 model, check the Visual option, and associate the variable from the previous step. 4. It works with Claude Sonnet 4. All models are provided by the Vertex AI plugin. ### Gemini 2.5 <img width="2074" height="871" alt="Image" src="https://github.com/user-attachments/assets/03208f96-8d84-4db3-89b8-c37b43824ccf" /> ### Claude Sonnet 4 <img width="2019" height="1253" alt="Image" src="https://github.com/user-attachments/assets/3f7dab6f-7615-4102-b2f3-fd43d21ec0cc" /> ### ✔️ Error log ``` Run failed: [vertex_ai] Error: req_id: 711e14f23b PluginInvokeError: {"args":{},"error_type":"AttributeError","message":"'list' object has no attribute 'get'"} ```
yindo added the bug label 2026-02-16 10:19:51 -05:00
yindo closed this issue 2026-02-16 10:19:51 -05:00
Author
Owner

@skyking363 commented on GitHub (Sep 9, 2025):

+1

@skyking363 commented on GitHub (Sep 9, 2025): +1
Author
Owner

@dosubot[bot] commented on GitHub (Sep 25, 2025):

Hi, @bossyang. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You reported an AttributeError in LLM nodes using Gemini 2.5 models within Chatflow when parsing uploaded files.
  • Claude Sonnet 4 works fine in the same context, indicating the issue is specific to Gemini 2.5.
  • The problem occurs in version 1.7.2 with plugin 0.0.23 on a self-hosted Docker setup.
  • It appears related to how Gemini 2.5 handles file variables in the Vertex AI plugin.
  • A maintainer acknowledged the issue but no resolution has been provided yet.

Next Steps:

  • Please let me know if this issue is still relevant with the latest version of dify-official-plugins by commenting here.
  • If I don’t hear back within 5 days, I will automatically close this issue.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Sep 25, 2025): Hi, @bossyang. I'm [Dosu](https://dosu.dev), and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale. **Issue Summary:** - You reported an AttributeError in LLM nodes using Gemini 2.5 models within Chatflow when parsing uploaded files. - Claude Sonnet 4 works fine in the same context, indicating the issue is specific to Gemini 2.5. - The problem occurs in version 1.7.2 with plugin 0.0.23 on a self-hosted Docker setup. - It appears related to how Gemini 2.5 handles file variables in the Vertex AI plugin. - A maintainer acknowledged the issue but no resolution has been provided yet. **Next Steps:** - Please let me know if this issue is still relevant with the latest version of dify-official-plugins by commenting here. - If I don’t hear back within 5 days, I will automatically close this issue. Thank you for your understanding and contribution!
Author
Owner

@bossyang commented on GitHub (Sep 30, 2025):

It works in Dify 1.8.1, vertex_ai 0.0.24. Thank you @Dosu.

@bossyang commented on GitHub (Sep 30, 2025): It works in Dify 1.8.1, vertex_ai 0.0.24. Thank you @Dosu.
Author
Owner

@dosubot[bot] commented on GitHub (Sep 30, 2025):

Thank you for your contribution and for closing this issue, @bossyang! We appreciate your help.

@dosubot[bot] commented on GitHub (Sep 30, 2025): Thank you for your contribution and for closing this issue, @bossyang! We appreciate your help.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#599