mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-10 15:54:15 -05:00
Ignore <think> tag for title generation #3470
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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).@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.