Skip to content

Conversation

@Nov1c444
Copy link
Contributor

@Nov1c444 Nov1c444 commented Aug 21, 2025

Related Issues or Context

Related PR: langgenius/dify-plugin-sdks#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

  • Documentation
  • Other

This PR contains Changes to Non-LLM Models Plugin

  • I have Run Comprehensive Tests Relevant to My Changes

This PR contains Changes to LLM Models Plugin

  • My Changes Affect Message Flow Handling (System Messages and User→Assistant Turn-Taking)
  • My Changes Affect Tool Interaction Flow (Multi-Round Usage and Output Handling, for both Agent App and Agent Node)
  • My Changes Affect Multimodal Input Handling (Images, PDFs, Audio, Video, etc.)
  • My Changes Affect Multimodal Output Generation (Images, Audio, Video, etc.)
  • My Changes Affect Structured Output Format (JSON, XML, etc.)
  • My Changes Affect Token Consumption Metrics
  • My Changes Affect Other LLM Functionalities (Reasoning Process, Grounding, Prompt Caching, etc.)
  • Other Changes (Add New Models, Fix Model Parameters etc.)

Version Control (Any Changes to the Plugin Will Require Bumping the Version)

  • I have Bumped Up the Version in Manifest.yaml (Top-Level Version Field, Not in Meta Section)

Dify Plugin SDK Version

  • I have Ensured dify_plugin>=0.3.0,<0.5.0 is in requirements.txt (SDK docs)

Environment Verification (If Any Code Changes)

Local Deployment Environment

  • Dify Version is: , I have Tested My Changes on Local Deployment Dify with a Clean Environment That Matches the Production Configuration.

SaaS Environment

  • I have Tested My Changes on cloud.dify.ai with a Clean Environment That Matches the Production Configuration

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Aug 21, 2025
@Nov1c444 Nov1c444 requested a review from crazywoola August 21, 2025 03:22
@dosubot dosubot bot added the bug Something isn't working label Aug 21, 2025
@Nov1c444 Nov1c444 marked this pull request as draft August 21, 2025 03:38
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Aug 21, 2025
@Nov1c444 Nov1c444 requested a review from Yeuoly August 29, 2025 09:52
@Nov1c444 Nov1c444 marked this pull request as ready for review August 29, 2025 09:52
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:S This PR changes 10-29 lines, ignoring generated files. labels Aug 29, 2025
@Nov1c444 Nov1c444 marked this pull request as draft September 2, 2025 09:11
@crazywoola crazywoola removed the lgtm This PR has been approved by a maintainer label Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants