mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
[GH-ISSUE #1918] ASCII art header backslash problem #12685
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 @ZedOud on GitHub (May 2, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/1918
Originally assigned to: @tjbck on GitHub.
Bug Report
Description
Bug Summary:
Steps to Reproduce:
(Mac)
bash start.sh
(Windows)
start_windows.bat
Expected Behavior:
It runs without that warning.
Actual Behavior:
It still runs, but throws up that warning.
Environment
Open WebUI Version: 0.1.123
Operating System: Windows 11, macOS Sonoma
Reproduction Details
Confirmation:
Installation Method
Installed manually.
Not fixed in dev as of
96d9d34Additional Information
If you want ASCII art to include unescaped backslashes, you need the raw prefix for strings:
r""" \this is fine\ """
You can even combine raw and format:
rf""" \ this is fine, {1+1} is 2 \ """
Here, I fixed it.
line 76:
Sorry, I'm horribly rusty with properly contributing code.