4fc9ad9 fix: update title generation prompt to ignore tags
📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝backend/open_webui/config.py (+1 -0)
📄 Description
Pull Request Title:fix: update title generation prompt to ignore <think> tags
Pull Request Checklist
Target branch: The pull request targets the dev branch.
Description: Updated the title generation prompt to explicitly instruct the model to ignore content enclosed within <think> tags.
Changelog: Added a changelog entry.
Documentation: No major documentation updates required.
Dependencies: No new dependencies introduced.
Testing: Verified prompt effectiveness to ensure <think> content is ignored.
Code review: Performed self-review to ensure correctness and clarity.
Prefix:docs (since this is a prompt update and not a functional code change).
Changelog Entry
Description
Improved the prompt for generating conversation titles by adding a guideline that explicitly instructs models to ignore <think>-enclosed content, ensuring better compatibility with models that use CoT reasoning.
Added
A new guideline in the title generation prompt to ignore <think> tags.
Changed
Refined the prompt structure for clarity and consistency.
Fixed
Prevented the model from incorporating <think> content into generated titles.
Additional Information
This update ensures better handling of <think>-formatted content, preventing unintended influences on the title generation process.
No breaking changes or modifications to core functionalities.
Screenshots or Videos
N/A (text-based update).
🔄 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/open-webui/open-webui/pull/9103
**Author:** [@VrianCao](https://github.com/VrianCao)
**Created:** 1/30/2025
**Status:** ❌ Closed
**Base:** `dev` ← **Head:** `patch-1`
---
### 📝 Commits (1)
- [`4fc9ad9`](https://github.com/open-webui/open-webui/commit/4fc9ad9d2217ca343ec8af8269fa354739b1356a) fix: update title generation prompt to ignore <think> tags
### 📊 Changes
**1 file changed** (+1 additions, -0 deletions)
<details>
<summary>View changed files</summary>
📝 `backend/open_webui/config.py` (+1 -0)
</details>
### 📄 Description
**Pull Request Title:** `fix: update title generation prompt to ignore <think> tags`
# Pull Request Checklist
- [x] **Target branch:** The pull request targets the `dev` branch.
- [x] **Description:** Updated the title generation prompt to explicitly instruct the model to ignore content enclosed within `<think>` tags.
- [x] **Changelog:** Added a changelog entry.
- [x] **Documentation:** No major documentation updates required.
- [x] **Dependencies:** No new dependencies introduced.
- [x] **Testing:** Verified prompt effectiveness to ensure `<think>` content is ignored.
- [x] **Code review:** Performed self-review to ensure correctness and clarity.
- [x] **Prefix:** `docs` (since this is a prompt update and not a functional code change).
---
# Changelog Entry
### Description
- Improved the prompt for generating conversation titles by adding a guideline that explicitly instructs models to ignore `<think>`-enclosed content, ensuring better compatibility with models that use CoT reasoning.
### Added
- A new guideline in the title generation prompt to ignore `<think>` tags.
### Changed
- Refined the prompt structure for clarity and consistency.
### Fixed
- Prevented the model from incorporating `<think>` content into generated titles.
---
### Additional Information
- This update ensures better handling of `<think>`-formatted content, preventing unintended influences on the title generation process.
- No breaking changes or modifications to core functionalities.
---
### Screenshots or Videos
N/A (text-based update).
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/9103
Author: @VrianCao
Created: 1/30/2025
Status: ❌ Closed
Base:
dev← Head:patch-1📝 Commits (1)
4fc9ad9fix: update title generation prompt to ignore tags📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
backend/open_webui/config.py(+1 -0)📄 Description
Pull Request Title:
fix: update title generation prompt to ignore <think> tagsPull Request Checklist
devbranch.<think>tags.<think>content is ignored.docs(since this is a prompt update and not a functional code change).Changelog Entry
Description
<think>-enclosed content, ensuring better compatibility with models that use CoT reasoning.Added
<think>tags.Changed
Fixed
<think>content into generated titles.Additional Information
<think>-formatted content, preventing unintended influences on the title generation process.Screenshots or Videos
N/A (text-based update).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.