[PR #9016] [CLOSED] WIP: rectify bad title generation issue in reasoning models #9100

Closed
opened 2025-11-11 18:14:04 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/9016
Author: @kagesenshi
Created: 1/28/2025
Status: Closed

Base: devHead: reasoning-title


📝 Commits (3)

  • 2dec62f rectify title generation issue in reasoning models
  • 8f5cd77 strip detail block alongside standard reasoning tag
  • 69e0da9 remove token limit in title generation to play nice with reasoning model

📊 Changes

2 files changed (+20 additions, -9 deletions)

View changed files

📝 backend/open_webui/routers/tasks.py (+9 -9)
📝 backend/open_webui/utils/misc.py (+11 -0)

📄 Description

Changelog Entry

Description

  • When using reasoning model, user gets the reasoning block as the chat title. This patch

Fixed

  • bad title generation issue in reasoning models

Screenshots or Videos

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/open-webui/open-webui/pull/9016 **Author:** [@kagesenshi](https://github.com/kagesenshi) **Created:** 1/28/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `reasoning-title` --- ### 📝 Commits (3) - [`2dec62f`](https://github.com/open-webui/open-webui/commit/2dec62f190b0585d2a43f86548c434b011928ba5) rectify title generation issue in reasoning models - [`8f5cd77`](https://github.com/open-webui/open-webui/commit/8f5cd77791ba4844cb42310efd41df310a9ea8f7) strip detail block alongside standard reasoning tag - [`69e0da9`](https://github.com/open-webui/open-webui/commit/69e0da9ae0e7d22fdf4cd35d4bfa49cb00790c5c) remove token limit in title generation to play nice with reasoning model ### 📊 Changes **2 files changed** (+20 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/routers/tasks.py` (+9 -9) 📝 `backend/open_webui/utils/misc.py` (+11 -0) </details> ### 📄 Description # Changelog Entry ### Description - When using reasoning model, user gets the reasoning block as the chat title. This patch ### Fixed - bad title generation issue in reasoning models ### Screenshots or Videos ![image](https://github.com/user-attachments/assets/8308e9a8-ab91-4dd3-a4ee-df606ca15379) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-11 18:14:04 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#9100