mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #3815] [MERGED] fix the checking logic in get_model_path #8134
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/3815
Author: @JerryKwan
Created: 7/12/2024
Status: ✅ Merged
Merged: 7/14/2024
Merged by: @tjbck
Base:
dev← Head:issue3813📝 Commits (1)
f07172bfix the checking logic in get_model_path📊 Changes
1 file changed (+6 additions, -3 deletions)
View changed files
📝
backend/apps/rag/utils.py(+6 -3)📄 Description
fix the checking logic in function get_model_path()
It helps when the network connection is not good and need to copy the models manually
Fix the issue of https://github.com/open-webui/open-webui/issues/3813
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Added
Changed
Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
Screenshots or Videos
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.