mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-07-21 18:05:30 -04:00
[PR #192] [MERGED] feat: add developer message #211
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-plugin-sdks/pull/192
Author: @Nov1c444
Created: 8/21/2025
Status: ✅ Merged
Merged: 8/29/2025
Merged by: @Yeuoly
Base:
main← Head:feat/developer-role📝 Commits (1)
d1b72e6feat: 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
README.mdREADME.mdREADME.mdREADME.mdAvailable Checks
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.