mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-24 03:18:21 -05:00
[PR #21367] [CLOSED] feat: Add admin-configurable citation format (plain text vs markdown) #129705
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?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/21367
Author: @YannickPezeu
Created: 2/13/2026
Status: ❌ Closed
Base:
main← Head:markdown_citations_PR📝 Commits (1)
7330af9feat: add admin setting for citation content format (plain text or markdown)📊 Changes
5 files changed (+35 additions, -1 deletions)
View changed files
📝
backend/open_webui/config.py(+6 -0)📝
backend/open_webui/main.py(+3 -0)📝
backend/open_webui/routers/auths.py(+4 -0)📝
src/lib/components/admin/Settings/General.svelte(+13 -0)📝
src/lib/components/chat/Messages/Citations/CitationModal.svelte(+9 -1)📄 Description
Summary
plain_text(default) andmarkdownrendering in citation modalsChanges
CITATION_FORMATPersistentConfig inconfig.py, exposed via/api/configand admin settings endpoints inauths.pyadmin/Settings/General.svelte, updatedCitationModal.svelteto conditionally render markdownTest plan
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.