Originally created by @profikid on GitHub (May 14, 2024).
When running litellm in docker it won't connect because my base url is not localhost
Setting LITELLM_PROXY_HOST doesnt work,
Culprit:
https://github.com/open-webui/open-webui/blame/90503be2edef1a1f7ce2074286b6316d5cb8868a/backend/apps/litellm/main.py#L224
https://github.com/open-webui/open-webui/blame/90503be2edef1a1f7ce2074286b6316d5cb8868a/backend/apps/litellm/main.py#L332
Possible solution:
f"{LITELLM_PROXY_HOST}:{LITELLM_PROXY_PORT}/v1"
This is for setting the host of the internal LiteLLM running inside WebUI, not for connecting to an external LiteLLM. Just add it as an "OpenAI" connection.
@justinh-rahb commented on GitHub (May 14, 2024):
This is for setting the host of the internal LiteLLM running _inside_ WebUI, not for connecting to an external LiteLLM. Just add it as an "OpenAI" connection.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @profikid on GitHub (May 14, 2024).
When running litellm in docker it won't connect because my base url is not localhost
Setting LITELLM_PROXY_HOST doesnt work,
Culprit:
https://github.com/open-webui/open-webui/blame/90503be2edef1a1f7ce2074286b6316d5cb8868a/backend/apps/litellm/main.py#L224
https://github.com/open-webui/open-webui/blame/90503be2edef1a1f7ce2074286b6316d5cb8868a/backend/apps/litellm/main.py#L332
Possible solution:
f"{LITELLM_PROXY_HOST}:{LITELLM_PROXY_PORT}/v1"
@justinh-rahb commented on GitHub (May 14, 2024):
This is for setting the host of the internal LiteLLM running inside WebUI, not for connecting to an external LiteLLM. Just add it as an "OpenAI" connection.