[GH-ISSUE #3830] Use Ollama API with open-webui #13401

Closed
opened 2026-04-19 20:09:36 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @Ninofj on GitHub (Jul 12, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/3830

Bug Report

Description

Bug Summary:

Maybe I'm mistaken and it's not a bug. I installed open-webui by downloading the latest release, unzipped the folder, and ran the Docker Compose command:

sudo docker compose -f docker-compose.yaml -f docker-compose.gpu.yaml up -d --build

I'm able to download models using the web interface and use the software as intended. However, when I'm on the host machine and try to access the Ollama API directly without the web UI, I get this output:

curl http://localhost:11434/api/tags

Output:

{"models":[]}

When I go into the Ollama container and run the command:

ollama list

I can see about 10 models.

Steps to Reproduce:
Install webui as intended and then run the curl command

Expected Behavior:
all models which are used by open-webui

Actual Behavior:
Empty

Environment

  • Open WebUI Version: 0.3.7

  • Ollama (if applicable): 0.1.48

  • Operating System: Ubuntu 22.04.4

  • Browser (if applicable): Chrome

Originally created by @Ninofj on GitHub (Jul 12, 2024). Original GitHub issue: https://github.com/open-webui/open-webui/issues/3830 # Bug Report ## Description **Bug Summary:** Maybe I'm mistaken and it's not a bug. I installed open-webui by downloading the latest release, unzipped the folder, and ran the Docker Compose command: sudo docker compose -f docker-compose.yaml -f docker-compose.gpu.yaml up -d --build I'm able to download models using the web interface and use the software as intended. However, when I'm on the host machine and try to access the Ollama API directly without the web UI, I get this output: curl http://localhost:11434/api/tags Output: {"models":[]} When I go into the Ollama container and run the command: ollama list I can see about 10 models. **Steps to Reproduce:** Install webui as intended and then run the curl command **Expected Behavior:** all models which are used by open-webui **Actual Behavior:** Empty ## Environment - **Open WebUI Version:** 0.3.7 - **Ollama (if applicable):** 0.1.48 - **Operating System:** Ubuntu 22.04.4 - **Browser (if applicable):** Chrome
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#13401