LLocalSearch
LLocalSearch copied to clipboard
Could Not Pull Model
Describe the bug
Upon cloning the repo (commit 0b695f3eff6a8595631eabb2b64b8598f5cc43ed) and running the docker container I get to the hosted web page and upon issuing any queries I get the following error on the web page:
Model nomic-embed-text:v1.5 does not exist and could not be pulled: Post "http://host.docker.internal:11434/api/pull": dial tcp 172.17.0.1:11434: connect: connection refused
and the following show on the console output:
llocalsearch-backend-1 | 2024/04/06 02:33:05 WARN Model does not exist, pulling it model=nomic-embed-text:v1.5 llocalsearch-backend-1 | 2024/04/06 02:33:05 ERROR Model does not exist and could not be pulled model=nomic-embed-text:v1.5 error="Post \"http://host.docker.internal:11434/api/pull\": dial tcp 172.17.0.1:11434: connect: connection refused"
To Reproduce Steps to reproduce the behavior:
- Go to the web front end @ http://localhost:3000/ after cloning the repo and running docker-compose up
- Click on any of the recommended queries or enter your own and hit enter
- See error displayed on the webpage and the error shown on the console from where the container was spooled up.
Expected behavior Expect the query to be responded to.
Screenshots N/A
Additional context
Tried switching to the tag v0.1 and had same issue but with different output.
Web page showed:
Model nomic-embed-text:v1.5 does not exist and could not be pulled: Post "http://192.168.0.109:11434/api/pull": dial tcp 192.168.0.109:11434: connect: no route to host
Console showed:
llocalsearch-backend-1 | 2024/04/06 02:46:12 WARN Model does not exist, pulling it model=nomic-embed-text:v1.5 llocalsearch-backend-1 | 2024/04/06 02:46:15 ERROR Model does not exist and could not be pulled model=nomic-embed-text:v1.5 error="Post \"http://192.168.0.109:11434/api/pull\": dial tcp 192.168.0.109:11434: connect: no route to host"