[PR #985] [MERGED] feat: add baichuan prompt #22815

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify/pull/985
Author: @takatost
Created: 8/23/2023
Status: Merged
Merged: 8/23/2023
Merged by: @takatost

Base: mainHead: feat/add-baichuan-prompt


📝 Commits (1)

  • e95e195 feat: add baichuan prompt

📊 Changes

9 files changed (+213 additions, -130 deletions)

View changed files

📝 api/core/completion.py (+10 -120)
📝 api/core/model_providers/models/llm/base.py (+132 -10)
📝 api/core/model_providers/models/llm/huggingface_hub_model.py (+9 -0)
📝 api/core/model_providers/models/llm/openllm_model.py (+9 -0)
📝 api/core/model_providers/models/llm/xinference_model.py (+9 -0)
api/core/prompt/generate_prompts/baichuan_chat.json (+13 -0)
api/core/prompt/generate_prompts/baichuan_completion.json (+9 -0)
api/core/prompt/generate_prompts/common_chat.json (+13 -0)
api/core/prompt/generate_prompts/common_completion.json (+9 -0)

📄 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/985 **Author:** [@takatost](https://github.com/takatost) **Created:** 8/23/2023 **Status:** ✅ Merged **Merged:** 8/23/2023 **Merged by:** [@takatost](https://github.com/takatost) **Base:** `main` ← **Head:** `feat/add-baichuan-prompt` --- ### 📝 Commits (1) - [`e95e195`](https://github.com/langgenius/dify/commit/e95e1950732b55c4c9ec1c6c0d706d5b9fd5adc6) feat: add baichuan prompt ### 📊 Changes **9 files changed** (+213 additions, -130 deletions) <details> <summary>View changed files</summary> 📝 `api/core/completion.py` (+10 -120) 📝 `api/core/model_providers/models/llm/base.py` (+132 -10) 📝 `api/core/model_providers/models/llm/huggingface_hub_model.py` (+9 -0) 📝 `api/core/model_providers/models/llm/openllm_model.py` (+9 -0) 📝 `api/core/model_providers/models/llm/xinference_model.py` (+9 -0) ➕ `api/core/prompt/generate_prompts/baichuan_chat.json` (+13 -0) ➕ `api/core/prompt/generate_prompts/baichuan_completion.json` (+9 -0) ➕ `api/core/prompt/generate_prompts/common_chat.json` (+13 -0) ➕ `api/core/prompt/generate_prompts/common_completion.json` (+9 -0) </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:19:49 -05:00
yindo closed this issue 2026-02-21 20:19:49 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#22815