Dify 1.1.3 [volcengine maas] Error: PluginlnvokeError #132

Closed
opened 2026-02-16 10:18:10 -05:00 by yindo · 2 comments
Owner

Originally created by @usun1997 on GitHub (Mar 27, 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 search for existing issues, 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.1.3

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

  1. use volcengine plugin to get doubao-1.5-vision-pro-32k (multimodal model)
  2. upload image and talk to the model
  3. get error:
    [volcengine_maas] Error: PluginInvokeError: {"args":{},"error_type":"ValidationError","message":"1 validation error for ModelInvokeLLMRequest\nprompt_messages.content.type\n Input should be \u003cPromptMessageContentType.IMAGE: 'image'\u003e [type=literal_error, input_value='image', input_type=str]\n For further information visit https://errors.pydantic.dev/2.8/v/literal_error"}

✔️ Expected Behavior

get model reply talking about the image

Actual Behavior

[volcengine_maas] Error: PluginInvokeError: {"args":{},"error_type":"ValidationError","message":"1 validation error for ModelInvokeLLMRequest\nprompt_messages.content.type\n Input should be \u003cPromptMessageContentType.IMAGE: 'image'\u003e [type=literal_error, input_value='image', input_type=str]\n For further information visit https://errors.pydantic.dev/2.8/v/literal_error"}

Originally created by @usun1997 on GitHub (Mar 27, 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 [search for existing issues](https://github.com/langgenius/dify/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.1.3 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce 1. use volcengine plugin to get doubao-1.5-vision-pro-32k (multimodal model) 2. upload image and talk to the model 3. get error: [volcengine_maas] Error: PluginInvokeError: {"args":{},"error_type":"ValidationError","message":"1 validation error for ModelInvokeLLMRequest\nprompt_messages.content.type\n Input should be \u003cPromptMessageContentType.IMAGE: 'image'\u003e [type=literal_error, input_value='image', input_type=str]\n For further information visit https://errors.pydantic.dev/2.8/v/literal_error"} ### ✔️ Expected Behavior get model reply talking about the image ### ❌ Actual Behavior [volcengine_maas] Error: PluginInvokeError: {"args":{},"error_type":"ValidationError","message":"1 validation error for ModelInvokeLLMRequest\nprompt_messages.content.type\n Input should be \u003cPromptMessageContentType.IMAGE: 'image'\u003e [type=literal_error, input_value='image', input_type=str]\n For further information visit https://errors.pydantic.dev/2.8/v/literal_error"}
yindo closed this issue 2026-02-16 10:18:10 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Mar 27, 2025):

Hello, @usun1997! I'm here to help you with any bugs, questions, or contributions while you wait for a human maintainer. I'm Dosu, a bot designed to assist you with all things related to Dify.

To resolve the PluginInvokeError related to the ValidationError for ModelInvokeLLMRequest when using the volcengine plugin with the doubao-1.5-vision-pro-32k model in Dify 1.1.3, you should upgrade your plugins to the following minimum versions:

  • Azure OpenAI: version 0.0.11 or higher
  • OpenAI: version 0.0.14 or higher
  • OpenRouter: version 0.0.6 or higher

This upgrade addresses the validation error that occurred due to type checking issues with multimodal prompt messages in SDK version 0.0.1b74 [1].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@dosubot[bot] commented on GitHub (Mar 27, 2025): <!-- Greeting --> Hello, @usun1997! I'm here to help you with any bugs, questions, or contributions while you wait for a human maintainer. I'm [Dosu](https://dosu.dev), a bot designed to assist you with all things related to Dify. <!-- Answer --> To resolve the `PluginInvokeError` related to the `ValidationError` for `ModelInvokeLLMRequest` when using the `volcengine` plugin with the `doubao-1.5-vision-pro-32k` model in Dify 1.1.3, you should upgrade your plugins to the following minimum versions: - Azure OpenAI: version 0.0.11 or higher - OpenAI: version 0.0.14 or higher - OpenRouter: version 0.0.6 or higher This upgrade addresses the validation error that occurred due to type checking issues with multimodal prompt messages in SDK version 0.0.1b74 <sup>[[1]](https://github.com/langgenius/dify/issues/16353)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/60400a01-3498-48ef-9787-a92fb1e4f73a?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/60400a01-3498-48ef-9787-a92fb1e4f73a?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/60400a01-3498-48ef-9787-a92fb1e4f73a?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/60400a01-3498-48ef-9787-a92fb1e4f73a?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/60400a01-3498-48ef-9787-a92fb1e4f73a?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/60400a01-3498-48ef-9787-a92fb1e4f73a?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/60400a01-3498-48ef-9787-a92fb1e4f73a?feedback_type=other)</sup>
Author
Owner

@crazywoola commented on GitHub (Mar 27, 2025):

Duplicated https://github.com/langgenius/dify/issues/16816

@crazywoola commented on GitHub (Mar 27, 2025): Duplicated https://github.com/langgenius/dify/issues/16816
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#132