[PR #52] [CLOSED] feat: add 'encouraged_response_prefix' parameter for LLM #108

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-sdks/pull/52
Author: @acelyc111
Created: 3/16/2025
Status: Closed

Base: mainHead: add_para


📝 Commits (2)

  • 1679a59 feat: add 'encouraged_response_prefix' parameter for LLM
  • a330bfa cr1

📊 Changes

3 files changed (+24 additions, -0 deletions)

View changed files

📝 python/dify_plugin/entities/model/__init__.py (+16 -0)
📝 python/dify_plugin/entities/model/message.py (+1 -0)
📝 python/dify_plugin/interfaces/model/large_language_model.py (+7 -0)

📄 Description

Add a new 'encouraged_response_prefix' parameter for LLMs, for example, it's helpful to achieve the Chat Prefix Completion feature of DeepSeek models.


🔄 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/52 **Author:** [@acelyc111](https://github.com/acelyc111) **Created:** 3/16/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `add_para` --- ### 📝 Commits (2) - [`1679a59`](https://github.com/langgenius/dify-plugin-sdks/commit/1679a595872ca48fdb0342daeab0c346ed91f557) feat: add 'encouraged_response_prefix' parameter for LLM - [`a330bfa`](https://github.com/langgenius/dify-plugin-sdks/commit/a330bfa7a95eff5533fab02e2887cac36ea0c9f7) cr1 ### 📊 Changes **3 files changed** (+24 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `python/dify_plugin/entities/model/__init__.py` (+16 -0) 📝 `python/dify_plugin/entities/model/message.py` (+1 -0) 📝 `python/dify_plugin/interfaces/model/large_language_model.py` (+7 -0) </details> ### 📄 Description Add a new 'encouraged_response_prefix' parameter for LLMs, for example, it's helpful to achieve the [Chat Prefix Completion](https://api-docs.deepseek.com/guides/chat_prefix_completion) feature of DeepSeek models. --- <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:15:47 -05:00
yindo closed this issue 2026-02-15 21:15:47 -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#108