OSS
Open Source

Open WebUI

Contributed a bug fix to Open WebUI (47k+ stars), correcting conflicting output format instructions in the follow-up generation prompt template.

CONTRIBUTING.md
README.md
Open WebUI

About the Project

Identified and fixed a bug in Open WebUI where the DEFAULT_FOLLOW_UP_GENERATION_PROMPT_TEMPLATE contained contradictory output format instructions. The Guidelines section instructed LLMs to return a JSON array, while the frontend parser expected a JSON object with a follow_ups key. When an LLM followed the array instruction, the parser found no object delimiters and the UI showed no follow-up suggestions.

Key Features

  • 01Identified root cause of silent follow-up suggestion failures
  • 02Traced the data flow from backend prompt template through LLM response to frontend parser
  • 03Corrected the Guidelines instruction to match the Output section and frontend parser expectations
  • 04PR merged into the main codebase by the project maintainer

Outcomes & Impact

The fix resolved follow-up suggestion failures for users across the Open WebUI platform. PR was reviewed and merged by the project creator.

dependencies
{
"python": "latest",
"typescript": "latest",
"open-webui": "latest",
"llm-prompt-templates": "latest",
"json-parsing": "latest"
}

Category

devtools

Open Source

More devtools Projects

Interested in working

together?

I'm always open to discussing new projects and opportunities.

Get in touch