[PR #1321] [MERGED] Fix openai_api_compatible cannot get system #1832

Closed
opened 2026-02-16 10:24:07 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-official-plugins/pull/1321
Author: @zzy-life
Created: 7/22/2025
Status: Merged
Merged: 7/24/2025
Merged by: @crazywoola

Base: mainHead: main


📝 Commits (4)

  • b5c5af3 Fix openai_api_compatible cannot get system
  • 41e2c2b Update manifest.yaml
  • e913c65 Merge branch 'langgenius:main' into main
  • 043efdd Update manifest.yaml

📊 Changes

2 files changed (+8 additions, -3 deletions)

View changed files

📝 models/openai_api_compatible/manifest.yaml (+1 -1)
📝 models/openai_api_compatible/models/llm/llm.py (+7 -2)

📄 Description

This PR contains Changes to Non-LLM Models Plugin

  • I have Run Comprehensive Tests Relevant to My Changes

Previously, using p.role == 'system' could not get the System Prompt content:
image

image

🔄 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-official-plugins/pull/1321 **Author:** [@zzy-life](https://github.com/zzy-life) **Created:** 7/22/2025 **Status:** ✅ Merged **Merged:** 7/24/2025 **Merged by:** [@crazywoola](https://github.com/crazywoola) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (4) - [`b5c5af3`](https://github.com/langgenius/dify-official-plugins/commit/b5c5af3735b35096a792d5fe2ec3b9eb1ddbe617) Fix openai_api_compatible cannot get system - [`41e2c2b`](https://github.com/langgenius/dify-official-plugins/commit/41e2c2bbb1aa7f0a13376b8f77af93f094aff6db) Update manifest.yaml - [`e913c65`](https://github.com/langgenius/dify-official-plugins/commit/e913c65896d18d610c2ce669197014a2031e4b81) Merge branch 'langgenius:main' into main - [`043efdd`](https://github.com/langgenius/dify-official-plugins/commit/043efddc8c6f71f5bf16180cd355b9b27f003a8c) Update manifest.yaml ### 📊 Changes **2 files changed** (+8 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `models/openai_api_compatible/manifest.yaml` (+1 -1) 📝 `models/openai_api_compatible/models/llm/llm.py` (+7 -2) </details> ### 📄 Description ## This PR contains Changes to *Non-LLM Models Plugin* - [ ] I have Run Comprehensive Tests Relevant to My Changes <!-- 📷 Include Screenshots/Videos Demonstrating the Fix, New Feature, or the Behavior Before/After Breaking Changes. --> Previously, using p.role == 'system' could not get the System Prompt content: <img width="1313" height="683" alt="image" src="https://github.com/user-attachments/assets/4bc304e9-1825-4254-9407-9122f6019c0b" /> <img width="1190" height="772" alt="image" src="https://github.com/user-attachments/assets/3a430ee4-0fd4-486d-bdf6-f032d09c88f0" /> --- <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-16 10:24:07 -05:00
yindo closed this issue 2026-02-16 10:24:07 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#1832