JHubi1 / ollama-app

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

Invalid Host #15

Closed mhakm closed 5 months ago

mhakm commented 5 months ago

I don't know what to type in the host and I need some help Screenshot_2024-06-07-03-38-04-76_e204fad585e7d37537548c39f18139b4.jpg

Screenshot_2024-06-07-03-37-58-19_e204fad585e7d37537548c39f18139b4.jpg

JHubi1 commented 5 months ago

I assume you have Ollama running on a PC in your local network.

Firstly, follow the steps discussed in #5 to make Ollama accessible from your phone.

After that, you have to find your PCs local IP. You can do that by either going to your router's device list or getting it in windows CMD (just google "windows get local IP").

Then enter the following in the host field: "http://:11434"

mhakm commented 5 months ago

I assume you have Ollama running on a PC in your local network.

Firstly, follow the steps discussed in #5 to make Ollama accessible from your phone.

After that, you have to find your PCs local IP. You can do that by either going to your router's device list or getting it in windows CMD (just google "windows get local IP").

Then enter the following in the host field: "http://:11434"

But why I need a PC to make it run?

JHubi1 commented 5 months ago

First sentence in the readme:

Important: This app does not host a Ollama server on device, but rather connects to one and uses its api endpoint. Don't know what Ollama is? Learn more at ollama.com.

mhakm commented 5 months ago

First sentence in the readme:

Important: This app does not host a Ollama server on device, but rather connects to one and uses its api endpoint. Don't know what Ollama is? Learn more at ollama.com.

Thank you