mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[PR #9254] [CLOSED] Add timeout warning for model loading #37977
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/9254
Author: @wdvr
Created: 2/2/2025
Status: ❌ Closed
Base:
main← Head:add-timeout-warning📝 Commits (1)
a64b954Add timeout warning for model loading📊 Changes
2 files changed (+17 additions, -7 deletions)
View changed files
📝
backend/open_webui/routers/ollama.py(+8 -4)📝
backend/open_webui/routers/openai.py(+9 -3)📄 Description
Add timeout handling for model loading in
ollama.pyandopenai.py.Timeout Parameter
timeoutparameter to thesend_get_requestfunction in bothollama.pyandopenai.py.Model Loading with Timeout
get_all_modelsfunction in bothollama.pyandopenai.pyto use thetimeoutparameter when callingsend_get_request.For more details, open the Copilot Workspace session.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.