mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
Will oaicompat_dify_app support multimodal capabilities in the future #810
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 @swchilei on GitHub (Nov 16, 2025).
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
When using the oaicompat_dify_app plugin, it fails to process content that is a data type.
Example:
Normal: {'role': 'user', 'content': 'hello'}
Failed: {'role': 'user', 'content': [{'type': 'text', 'text': 'hello'}]}
2. Additional context or comments
When using the oaicompat_dify_app plugin, it fails to process content that is a data type.
Example:
Normal: {'role': 'user', 'content': 'hello'}
Failed: {'role': 'user', 'content': [{'type': 'text', 'text': 'hello'}]}
3. Can you help us with this feature?
@dosubot[bot] commented on GitHub (Nov 16, 2025):
Hi @swchilei! I'm Dosu and I’m helping the dify-official-plugins team.
There are currently no indications that the oaicompat_dify_app plugin will support multimodal capabilities (such as handling images, audio, or structured content in the
contentfield) in the near future. The plugin expects message content to be plain text and does not handle nested or structured data types, which is why it fails with inputs like{'role': 'user', 'content': [{'type': 'text', 'text': 'hello'}]}. There are no TODOs, comments, or roadmap notes in the codebase or documentation about planned multimodal support for this plugin, and recent updates have focused on text-based improvements only citation.If you need multimodal support, you might want to watch for developments in other plugins, such as the n1n API provider, which aims to bring multimodal capabilities to the Dify ecosystem, though not specifically through oaicompat_dify_app citation.
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other

@swchilei commented on GitHub (Nov 17, 2025):
Hi @dosu , Got it. I checked the n1n API provider, but it's not what I need.
I have to call the Dify app using the OpenAI-compatible API format.
@dosubot[bot] commented on GitHub (Nov 17, 2025):
The oaicompat_dify_app plugin currently only supports plain text in the 'content' field and does not handle structured or multimodal data (like arrays of objects for images or rich content). If you send structured content, you'll get errors because the plugin expects a string and tries to concatenate or format it as text citation.
Recent updates have improved compatibility with OpenAI API message formats and added support for passing the full message history as a JSON string, but there’s still no support for multimodal or nested content—everything is flattened to text internally citation.
If you need to send multimodal data (like images), you’ll need to preprocess your messages so that the 'content' field is always a string (for example, by extracting and joining text segments, or by converting image references to URLs in plain text). There’s no built-in workaround for true multimodal support in this plugin right now.
If you need OpenAI-compatible API support with vision or multimodal models, you might want to look at alternative plugins like Regolo.ai, which is designed for OpenAI API compatibility and supports some vision models citation.
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other
