mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
Custom model following OpenAI-API-compatible format cannot be parsed correctly in Dify #461
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 @niudehua on GitHub (Jul 18, 2025).
Self Checks
Dify version
1.6
Cloud or Self Hosted
Cloud
Steps to reproduce
I configured a custom model under the "OpenAI-API-compatible" type, following the OpenAI chat completion response format like this:
However, Dify's result returns as:
It seems Dify does not correctly parse the
resultorchoices.message.contentfrom the response.Could you please help to confirm if this is a bug or if additional configuration is needed?
✔️ Expected Behavior
I configured a custom model under the "OpenAI-API-compatible" type, following the OpenAI chat completion response format like this:
However, Dify's result returns as:
It seems Dify does not correctly parse the
resultorchoices.message.contentfrom the response.Could you please help to confirm if this is a bug or if additional configuration is needed?
❌ Actual Behavior
I configured a custom model under the "OpenAI-API-compatible" type, following the OpenAI chat completion response format like this:
However, Dify's result returns as:
It seems Dify does not correctly parse the
resultorchoices.message.contentfrom the response.Could you please help to confirm if this is a bug or if additional configuration is needed?
@crazywoola commented on GitHub (Jul 18, 2025):
Please provide the plugin version as well.
@niudehua commented on GitHub (Jul 18, 2025):
OpenAI-API-compatible
0.0.17
@dosubot[bot] commented on GitHub (Aug 20, 2025):
Hi, @niudehua. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.
Issue Summary:
Next Steps:
Thank you for your understanding and contribution!