mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
Adding both Microsoft GPT-5 Mini and Nano results in a 400 error. #630
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 @xiaotang-12-ops on GitHub (Sep 7, 2025).
Self Checks
Dify version
1.8.1
Plugin version
0.28
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
I have made sure that my Dify and plugins are all updated, but when adding Microsoft GPT-5 Mini and Nano, both return a 400 error.
✔️ Error log
No response
@dosubot[bot] commented on GitHub (Sep 7, 2025):
This 400 error happens because the Azure OpenAI API for GPT-5 Mini and Nano now expects the prompt data in an input parameter called input, not messages. The current Azure OpenAI plugin code still sends messages, which the API rejects as unsupported—hence the error you see. This is a known issue and has been reported by other users as well [source].
Recent plugin updates added support for GPT-5 models, but none of the merged pull requests explicitly fix this parameter mismatch [source]. To resolve this, the plugin code needs to be updated so that, for GPT-5 Mini/Nano, it sends the prompt as input instead of messages.
There’s no config flag or workaround to switch this parameter without a code change. If you’re comfortable editing code, you’d need to update the payload construction logic in the Azure OpenAI plugin (where the request is built for these models) to use input for GPT-5 Mini/Nano. Otherwise, you’ll need to wait for an official fix in a future plugin release.
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other

@kurokobo commented on GitHub (Sep 8, 2025):
See: https://github.com/langgenius/dify-official-plugins/issues/1472#issuecomment-3174704295
@xiaotang-12-ops commented on GitHub (Sep 8, 2025):
@kurokobo commented on GitHub (Sep 8, 2025):
You should remove the underlined strings:
@dosubot[bot] commented on GitHub (Sep 25, 2025):
Hi, @xiaotang-12-ops. 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!