mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #1379] Open WebUI seems not to be able to access Litellm when protected by master key #51135
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 @flefevre on GitHub (Apr 1, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/1379
Bug Report
Description
Bug Summary:
When going to the Open WebUi model panel, if try to click on the litellm config panel, you have no models listed.
moreover in the log, you have a
openwebui | INFO: 172.22.0.1:0 - "GET /litellm/api/model/info HTTP/1.1" 401 UnauthorizedExpected Behavior:
Normally shoud be able to connect to Litellm configured with https://docs.litellm.ai/docs/proxy/virtual_keys#custom-auth
and list all models in the config files
Actual Behavior:
It load the litellm-config.yalm file
but it seems to have a problem to acess the master key?
Environment
Reproduction Details
Confirmation:
@justinh-rahb commented on GitHub (Apr 1, 2024):
It appears there has been a confusion or incorrect usage of our internal LiteLLM connection, which might be due to the mix-up of outdated information from past discussions with the present situation. While your custom configuration file should function correctly in an external LiteLLM proxy server container, it is essential to note that our system is not intended for this kind of setup.
@flefevre commented on GitHub (Apr 1, 2024):
ok, thanks you for your answer.
I am closing the issue.