[GH-ISSUE #2406] Title Auto Gen will Sometimes Include Markdown #12868

Closed
opened 2026-04-19 19:43:16 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @hchasens on GitHub (May 20, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/2406

Bug Report

Description

Bug Summary:
Title generated will sometimes include markdown (e.g. "Malicious Code Detection")

Steps to Reproduce:
This is probably RNG so it'd be difficult to recreate.

Expected Behavior:
Markdown not appearing in the title as it fails to parse.

Actual Behavior:
Markdown will sometimes appear in the title.

Environment

  • Open WebUI Version: [v0.1.125]

  • Ollama (if applicable): [0.1.38]

  • Operating System: [e.g., Arch Linux]

  • Browser (if applicable): [e.g., Vivaldi]

Reproduction Details

Confirmation:

  • I have read and followed all the instructions provided in the README.md.
  • I am on the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.

Logs and Screenshots

Screenshots (if applicable):
issue

Additional Information

Can be fixed by changing the title gen prompt to:

Create a concise, 3-5 word phrase as a header for the following query, strictly adhering to the 3-5 word limit and avoiding the use of the word 'title' and don't use markdown: {{prompt}}

Originally created by @hchasens on GitHub (May 20, 2024). Original GitHub issue: https://github.com/open-webui/open-webui/issues/2406 # Bug Report ## Description **Bug Summary:** Title generated will sometimes include markdown (e.g. "**Malicious Code Detection**") **Steps to Reproduce:** This is probably RNG so it'd be difficult to recreate. **Expected Behavior:** Markdown not appearing in the title as it fails to parse. **Actual Behavior:** Markdown will sometimes appear in the title. ## Environment - **Open WebUI Version:** [v0.1.125] - **Ollama (if applicable):** [0.1.38] - **Operating System:** [e.g., Arch Linux] - **Browser (if applicable):** [e.g., Vivaldi] ## Reproduction Details **Confirmation:** - [x] I have read and followed all the instructions provided in the README.md. - [x] I am on the latest version of both Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. ## Logs and Screenshots **Screenshots (if applicable):** ![issue](https://github.com/open-webui/open-webui/assets/16534666/84c7b792-b1c5-4a3a-89ce-f1c4b08922b0) ## Additional Information Can be fixed by changing the title gen prompt to: > Create a concise, 3-5 word phrase as a header for the following query, strictly adhering to the 3-5 word limit and avoiding the use of the word 'title' and don't use markdown: {{prompt}}
Author
Owner

@cheahjs commented on GitHub (May 20, 2024):

see: https://github.com/open-webui/open-webui/discussions/1692

<!-- gh-comment-id:2119707840 --> @cheahjs commented on GitHub (May 20, 2024): see: https://github.com/open-webui/open-webui/discussions/1692
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#12868