mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
[PR #1541] [CLOSED] fix: correct the openai model features #1945
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?
📋 Pull Request Information
Original PR: https://github.com/langgenius/dify-official-plugins/pull/1541
Author: @Nov1c444
Created: 8/20/2025
Status: ❌ Closed
Base:
main← Head:fix/openai-model-features📝 Commits (4)
24befa3fix: correct the openai model features78c06dachore: bump version to 0.2.4441c0a4feat: o series model add developer message1884132Merge branch 'main' into fix/openai-model-features📊 Changes
5 files changed (+139 additions, -28 deletions)
View changed files
📝
models/openai/manifest.yaml(+1 -1)📝
models/openai/models/llm/chatgpt-4o-latest.yaml(+0 -3)📝
models/openai/models/llm/llm.py(+138 -0)📝
models/openai/models/llm/o1-mini-2024-09-12.yaml(+0 -12)📝
models/openai/models/llm/o1-mini.yaml(+0 -12)📄 Description
Related Issues or Context
Related PR: https://github.com/langgenius/dify-plugin-sdks/pull/192
Change the system prompt type of GPT models after o1 to developer prompt type
References:
https://cdn.openai.com/spec/model-spec-2024-05-08.html#follow-the-chain-of-command
https://platform.openai.com/docs/guides/reasoning-best-practices#how-to-prompt-reasoning-models-effectively
Remove incorrect JSON object support for o1-mini and tool call support for ChatGPT-4o based on OpenAI documentation.
Changes:
Removed json_object response format support for o1-mini (not supported in current o1 series models)
Removed tool calling capabilities for ChatGPT-4o (tool calls not supported in this model variant)
References:
https://platform.openai.com/docs/models/chatgpt-4o-latest
https://platform.openai.com/docs/models/o1-mini
This PR contains Changes to Non-Plugin
This PR contains Changes to Non-LLM Models Plugin
This PR contains Changes to LLM Models Plugin
Version Control (Any Changes to the Plugin Will Require Bumping the Version)
VersionField, Not in Meta Section)Dify Plugin SDK Version
dify_plugin>=0.3.0,<0.5.0is in requirements.txt (SDK docs)Environment Verification (If Any Code Changes)
Local Deployment Environment
SaaS Environment
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.