JHubi1 / ollama-app

A modern and easy-to-use client for Ollama
Apache License 2.0
546 stars 37 forks source link

Connecting to a host only providing /api #38

Open lomenzel opened 3 months ago

lomenzel commented 3 months ago

The settings page checks if the response to https://example.com is "Ollama is running". i have a setup where example.com is hosting an ollama web frontend and the reverseproxy proxypasses example.com/api to the ollama service. the result is, that the ollama app refuses the host, but it could use it

Pietro395 commented 3 months ago

I have the same problem

Manut38 commented 2 weeks ago

I'm using OpenWeb UI and ran into the same issue.

But it seems like https://{openweb-ui-instance}/ollama/ always responds with {"status":true} no matter if Ollama integration is active or not, or if the users authorization headers are valid.

It would be great to be able to use this app even with Ollama API published behind a proxy application like OpenWeb UI