-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: ollama version is 0 #21
Comments
I have the same error. OK, I noticed that the ollama service changed it's api to compatible with openai, and it cause this error. |
How to solve this problem? thanks |
Hi, still the same problem actually. |
I was still getting these cross-site origin errors even with OLLAMA_ORIGINS set to *, and while running ollama on the same computer as webui-lite. I finally was able to fix the problem by changing the API URL setting in the webapp to have the literal LAN ip address, e.g. 10.0.0.5 instead of localhost. Note that if you want this to be the default, the OLLAMA_API_BASE_URL environment variable doesn't seem to be respected, you have to change the value in src/lib/constants.ts. |
I used this command OLLAMA_HOST=0.0.0.0 OLLAMA_ORIGINS=* ollama serve to fix the error . But still doesn't work.And use joevenzon's way to change localhost to LAN ip address. This address only works in same computer. Accessing from other devices in same network still shows error . Any work around? |
hi everyone, ollama version is 0.1.23, but I get this error. I can not find the reason, Thanks
22.04.1-Ubuntu
The text was updated successfully, but these errors were encountered: