mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-22 01:55:27 -04:00
When workflow uploads a picture and visually recognizes it through mass spectrometry glm-4v-flash, the parameter error is prompted. #199
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @5lei on GitHub (Apr 16, 2025).
Self Checks
Dify version
1.2.0
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Configure workflow, start the node to select the image to upload, and the second node uses glm-4v-flash for image recognition.
✔️ Expected Behavior
Hope to be able to recognize normally
❌ Actual Behavior
An error is actually reported, and the error message is reported,
error message:[zhipuai] 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"}
@dosubot[bot] commented on GitHub (Apr 16, 2025):
To resolve the PluginInvokeError related to the validation error for
ModelInvokeLLMRequestwhen usingglm-4v-flashfor image recognition in a self-hosted Dify version 1.2.0 workflow, you should:If the issue persists with other models, you may need to report a separate issue for a model-specific fix [1][2][3].
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