mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
[PR #11163] [MERGED] chore: Use platform specific path separators #61528
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/11163
Author: @tidely
Created: 3/4/2025
Status: ✅ Merged
Merged: 3/5/2025
Merged by: @tjbck
Base:
dev← Head:pathfix📝 Commits (1)
b15814cchore: remove unnecessary Path conversions📊 Changes
7 files changed (+10 additions, -10 deletions)
View changed files
📝
backend/open_webui/config.py(+4 -4)📝
backend/open_webui/routers/audio.py(+1 -1)📝
backend/open_webui/routers/functions.py(+1 -1)📝
backend/open_webui/routers/images.py(+1 -1)📝
backend/open_webui/routers/openai.py(+1 -1)📝
backend/open_webui/routers/tools.py(+1 -1)📝
backend/open_webui/utils/pdf_generator.py(+1 -1)📄 Description
Description
Remove unnecessary
pathlib.Pathconversions. (CACHE_DIR and DATA_DIR)Use
/Path joining shorthand to ensure using platform specific Path separators (Windows:\\, Unix:/)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.