Comments (4)
The same problem on MacOS Desktop version v1.5.7
![Screenshot 2024-06-23 at 19 17 20](https://private-user-images.githubusercontent.com/74361701/342088854-a8845277-4baa-4ba2-8242-a480268a678f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk0MjUzMTcsIm5iZiI6MTcxOTQyNTAxNywicGF0aCI6Ii83NDM2MTcwMS8zNDIwODg4NTQtYTg4NDUyNzctNGJhYS00YmEyLTgyNDItYTQ4MDI2OGE2NzhmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI2VDE4MDMzN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ2OWIwMzhhZDQwZGQ3OGNiZDVmY2RkYTg3Zjg4OWEzZDU1YjhjZTM0YzRkNjE2ZTAyNGViMTY5Yzk1NGU1OTImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.ISCXGaUsV6yhie6YjSRZSF8Y3L07hW6blNNSxKvTMxI)
from anything-llm.
The connector does work, you just are using the wrong URL or Ollama is actually not running on the host.
assuming both are on the same machine and you _confirmed that ollama serve
is running.
If on Docker:
- you need to specific the host machine IP or you can use HTTP://host.docker.internal to access the host machine
However, on Ubuntu/Linux docker the above URL does not work and you need to use 172.17.0.1:11434. If this is not your situation you dont need to use this URL. This also presumes you have not already tried to boot Ollama with the proper ENVs for ollama to be able to listen on the correct loopback. 172.17.0.1 = 0.0.0.0
On desktop:
HTTP://127.0.01:11434
Things to read about this:
https://docs.useanything.com/ollama-models-not-loading
https://github.com/Mintplex-Labs/anything-llm/blob/master/server/utils/AiProviders/ollama/README.md
from anything-llm.
After following the documentation at https://github.com/Mintplex-Labs/anything-llm/blob/master/server/utils/AiProviders/ollama/README.md I managed to resolve the issue by binding Ollama to 0.0.0.0 and using 172.17.0.1:11434 as base URL.
Thank you. For future problems I'll take a closer look at the github before creating a new issue!
from anything-llm.
@Mattias-Code Thanks for the reply + resolution. Also no big deal, we get Ollama connection issues about 5-10 times a week because of that caveat on address binding Ollama has - you are not alone!
from anything-llm.
Related Issues (20)
- [BUG]: Cannot read properties of undefined (reading '0') HOT 7
- [BUG]: Some confluence doc name cannot be saved - throwing ENOENT: no such file or directory HOT 4
- [FEAT]: Generic OpenAI as Workspace Agent LLM Provider
- [FEAT]: Branch off chat to new thread
- Discord LLM bot [FEAT]: HOT 2
- [BUG]: ENABLE_HTTPS="false" still wants KEY and CERT PATH defined. HOT 5
- [BUG]:when i try to save and embed file in the workspace, i get error 1 that could not find the specified file HOT 3
- [BUG]: Data Syncing in Pinecone Vector Database Service HOT 1
- [CHORE] How user feedback works? HOT 1
- [FEAT]: Revisit Chat History and Continue the Conversation
- [FEAT]: Claude 3.5? HOT 1
- AnythngLLM (docker) hangs on "-- loading avaiable models"
- [BUG]: Cannot read properties of undefined HOT 9
- [BUG]: URL validation preventing me from connecting to my Azure endpoint
- [FEAT]: Auto detection for Ollama and LMStudio base URLs
- [BUG]: UI bug fixes
- [BUG]: When trying to stop the model the CPU job doesn't go down HOT 4
- [BUG]: Unable to build docker image after a fresh fork. HOT 4
- [FEAT]: Allow default users to upload documents HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anything-llm.