mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #562] litellm config file #12121
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 @mafrasiabi on GitHub (Jan 24, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/562
@justinh-rahb Could you please share the litellm config file? I've been struggling to make it work but no matter what I did, I can't see the models on the model list
@justinh-rahb commented on GitHub (Jan 25, 2024):
@mafrasiabi I got everything I know about configuring this from their docs:
https://docs.litellm.ai/docs/proxy/configs
Assuming you're following my previously posted configs this should work:
If you omit the
general_settings: master_key:section you can test LiteLLM with a simple cURL command from the ollama-webui container:This will verify that the containers are communicating successfully. If not, try using this instead:
http://host.docker.internal:publish_port/v1/modelsDo note that the
master_keyis required for Ollama WebUI to use an OpenAI endpoint, with no key Ollama WebUI will not query the/v1/modelsendpoint. Took me a while to figure that one out and should probably be added to the README.md if it's intentional @tjbck Otherwise I can open an issue if this is unexpected behaviour.