[PR #192] [MERGED] feat: add developer message #211

Closed
opened 2026-02-15 21:16:15 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-sdks/pull/192
Author: @Nov1c444
Created: 8/21/2025
Status: Merged
Merged: 8/29/2025
Merged by: @Yeuoly

Base: mainHead: feat/developer-role


📝 Commits (1)

  • d1b72e6 feat: add developer message

📊 Changes

1 file changed (+9 additions, -0 deletions)

View changed files

📝 python/dify_plugin/entities/model/message.py (+9 -0)

📄 Description

Pull Request Checklist

According to OpenAI's model spec, change the prompt type of GPT models after o1 to developer type: 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

related PR: https://github.com/langgenius/dify-official-plugins/pull/1541

Compatibility Check

  • I have checked whether this change affects the backward compatibility of the plugin declared in README.md
  • I have checked whether this change affects the forward compatibility of the plugin declared in README.md
  • If this change introduces a breaking change, I have discussed it with the project maintainer and specified the release version in the README.md
  • I have described the compatibility impact and the corresponding version number in the PR description
  • I have checked whether the plugin version is updated in the README.md

Available Checks

  • Code has passed local tests
  • Relevant documentation has been updated (if necessary)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-plugin-sdks/pull/192 **Author:** [@Nov1c444](https://github.com/Nov1c444) **Created:** 8/21/2025 **Status:** ✅ Merged **Merged:** 8/29/2025 **Merged by:** [@Yeuoly](https://github.com/Yeuoly) **Base:** `main` ← **Head:** `feat/developer-role` --- ### 📝 Commits (1) - [`d1b72e6`](https://github.com/langgenius/dify-plugin-sdks/commit/d1b72e6e766f9865d5a03add74e32ce0e7a79d24) feat: add developer message ### 📊 Changes **1 file changed** (+9 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `python/dify_plugin/entities/model/message.py` (+9 -0) </details> ### 📄 Description # Pull Request Checklist According to OpenAI's model spec, change the prompt type of GPT models after o1 to developer type: 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 related PR: https://github.com/langgenius/dify-official-plugins/pull/1541 ## Compatibility Check - [ ] I have checked whether this change affects the **backward compatibility** of the plugin declared in `README.md` - [ ] I have checked whether this change affects the **forward compatibility** of the plugin declared in `README.md` - [ ] If this change introduces a breaking change, I have discussed it with the project maintainer and specified the release version in the `README.md` - [ ] I have described the compatibility impact and the corresponding version number in the PR description - [ ] I have checked whether the plugin version is updated in the `README.md` ## Available Checks - [ ] Code has passed local tests - [ ] Relevant documentation has been updated (if necessary) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 21:16:15 -05:00
yindo closed this issue 2026-02-15 21:16:15 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-sdks#211