[PR #1350] [MERGED] refactor advanced prompt core. #23022

Closed
opened 2026-02-21 20:20:17 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify/pull/1350
Author: @GarfieldDai
Created: 10/15/2023
Status: Merged
Merged: 10/18/2023
Merged by: @GarfieldDai

Base: mainHead: feat/advanced-prompt-core-enhancement


📝 Commits (2)

📊 Changes

9 files changed (+405 additions, -272 deletions)

View changed files

📝 api/core/completion.py (+32 -12)
📝 api/core/model_providers/models/llm/baichuan_model.py (+0 -6)
📝 api/core/model_providers/models/llm/base.py (+5 -213)
📝 api/core/model_providers/models/llm/huggingface_hub_model.py (+0 -9)
📝 api/core/model_providers/models/llm/openllm_model.py (+0 -9)
📝 api/core/model_providers/models/llm/xinference_model.py (+0 -9)
api/core/prompt/prompt_transform.py (+344 -0)
📝 api/services/advanced_prompt_template_service.py (+15 -13)
📝 api/services/app_model_config_service.py (+9 -1)

📄 Description

No description provided


🔄 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/pull/1350 **Author:** [@GarfieldDai](https://github.com/GarfieldDai) **Created:** 10/15/2023 **Status:** ✅ Merged **Merged:** 10/18/2023 **Merged by:** [@GarfieldDai](https://github.com/GarfieldDai) **Base:** `main` ← **Head:** `feat/advanced-prompt-core-enhancement` --- ### 📝 Commits (2) - [`96598e5`](https://github.com/langgenius/dify/commit/96598e5b177c06b7f884f245462bfa86501901bd) refactor advanced prompt core. - [`5832488`](https://github.com/langgenius/dify/commit/583248893aeae871b535c68632493d7a4d1c0aaa) refactor. ### 📊 Changes **9 files changed** (+405 additions, -272 deletions) <details> <summary>View changed files</summary> 📝 `api/core/completion.py` (+32 -12) 📝 `api/core/model_providers/models/llm/baichuan_model.py` (+0 -6) 📝 `api/core/model_providers/models/llm/base.py` (+5 -213) 📝 `api/core/model_providers/models/llm/huggingface_hub_model.py` (+0 -9) 📝 `api/core/model_providers/models/llm/openllm_model.py` (+0 -9) 📝 `api/core/model_providers/models/llm/xinference_model.py` (+0 -9) ➕ `api/core/prompt/prompt_transform.py` (+344 -0) 📝 `api/services/advanced_prompt_template_service.py` (+15 -13) 📝 `api/services/app_model_config_service.py` (+9 -1) </details> ### 📄 Description _No description provided_ --- <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-21 20:20:17 -05:00
yindo closed this issue 2026-02-21 20:20:17 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#23022