feat: remove ollama dependency #340

Closed
opened 2025-11-11 14:18:04 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @VfBfoerst on GitHub (Feb 23, 2024).

Originally assigned to: @tjbck on GitHub.

Is your feature request related to a problem? Please describe.
Hey :) as I use litellm for loadbalancing, I set its url as connection and removed the ollama api url, as you can see here:
image

The problem is, refreshing the site or logging in states about the impossible ollama api connection, as you can see here:
image

(Error-Messages: "Ollama Version: Not Detected" , "Open WebUI: Server Connection Error").

Describe the solution you'd like
If only openai api base url is set, disable the described error messages, disable ollama-api requests that still seem to happen right now.

Describe alternatives you've considered
Another solution could be:
Add a switch which states "only openai" or "disable ollama-api" and therefore disables the requests to the ollama api.

Additional context
I really like your project :) thank you!

Originally created by @VfBfoerst on GitHub (Feb 23, 2024). Originally assigned to: @tjbck on GitHub. **Is your feature request related to a problem? Please describe.** Hey :) as I use [litellm](https://github.com/BerriAI/litellm) for loadbalancing, I set its url as connection and removed the ollama api url, as you can see here: ![image](https://github.com/open-webui/open-webui/assets/64251549/394c7099-2f61-47c9-80a7-b905cd8dc704) The problem is, refreshing the site or logging in states about the impossible ollama api connection, as you can see here: ![image](https://github.com/open-webui/open-webui/assets/64251549/93228ab9-ac42-4ba7-9fa4-74d354d61314) (Error-Messages: "Ollama Version: Not Detected" , "Open WebUI: Server Connection Error"). **Describe the solution you'd like** If only openai api base url is set, disable the described error messages, disable ollama-api requests that still seem to happen right now. **Describe alternatives you've considered** Another solution could be: Add a switch which states "only openai" or "disable ollama-api" and therefore disables the requests to the ollama api. **Additional context** I really like your project :) thank you!
GiteaMirror added the enhancementcore labels 2025-11-11 14:18:04 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#340