Ignore <think> tag for title generation #3470

Closed
opened 2025-11-11 15:32:22 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @phenomen on GitHub (Jan 28, 2025).

Feature Request

Is your feature request related to a problem? Please describe.
Reasoning in a <think> tag is generally just extra overhead and not needed for title generation. Using it wastes tokens and also confuses small models, resulting in poor titles.

Describe the solution you'd like
Truncate all content of the <think> tag before sending it to the title generation model.

Describe alternatives you've considered
As an alternative, modify the default title generation prompt to ignore <think> tag (not optimal, still a waste of tokens).

Originally created by @phenomen on GitHub (Jan 28, 2025). # Feature Request **Is your feature request related to a problem? Please describe.** Reasoning in a `<think>` tag is generally just extra overhead and not needed for title generation. Using it wastes tokens and also confuses small models, resulting in poor titles. **Describe the solution you'd like** Truncate all content of the `<think>` tag before sending it to the title generation model. **Describe alternatives you've considered** As an alternative, modify the default title generation prompt to ignore `<think>` tag (not optimal, still a waste of tokens).
Author
Owner

@tjbck commented on GitHub (Jan 28, 2025):

Duplicate: https://github.com/open-webui/open-webui/discussions/8899#discussioncomment-11964899

Please check for existing discussions before creating a new issue post.

@tjbck commented on GitHub (Jan 28, 2025): Duplicate: https://github.com/open-webui/open-webui/discussions/8899#discussioncomment-11964899 Please check for existing discussions before creating a new issue post.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#3470