mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-05 18:38:17 -05:00
[PR #5319] [MERGED] fix: get OpenAI models only if OpenAI API Enabled; timeout for querying OpenAI models #21669
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/5319
Author: @liuzhch1
Created: 9/10/2024
Status: ✅ Merged
Merged: 9/10/2024
Merged by: @tjbck
Base:
dev← Head:fix-openai_timeout📝 Commits (1)
26700acfix: get OpenAI models only if OpenAI Enabled;timeout for query OpenAI models📊 Changes
2 files changed (+10 additions, -8 deletions)
View changed files
📝
backend/open_webui/apps/audio/main.py(+1 -1)📝
src/lib/components/admin/Settings/Connections.svelte(+9 -7)📄 Description
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
See https://github.com/open-webui/open-webui/discussions/5292 for issue details(video included).
This PR ensure only fetch OpenAI models if
ENABLE_OPENAI_APIisfalsein Admin Connection tab.Added timeout for fetching OpenAI models.
Fixed
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.