devika
devika copied to clipboard
root: ERROR : Failed to list Ollama models:
Each time I start Devika with "python devika.py"
24.03.27 15:25:10: root: ERROR : Failed to list Ollama models: 24.03.27 15:25:12: root: INFO : Booting up... This may take a few seconds 24.03.27 15:25:12: root: INFO : Initializing Devika... 24.03.27 15:25:12: root: INFO : Initializing Prerequisites Jobs... 24.03.27 15:25:12: root: INFO : Loading sentence-transformer BERT models... 24.03.27 15:25:16: root: INFO : BERT model loaded successfully.
- Serving Flask app 'devika'
- Debug mode: off
I could still start Bun, but obviously the webui will stuck with no function.
same issue here while Ollama is running in the background.
I am running ollama dockerized and I had to do a pull through curl:
curl http://localhost:11434/api/pull -d '{ "name": "llama2" }'
After it has pulled you can see it with curl localhost:11434/api/tags
It may take a while to pull the model so check the output of your ollama instance wherever its running
After I could see it using api/tags
I was able to select it from the dropdown menu
same issue. @GustavHenning Could you please let me know when should I run the curl command? Before "python devika.py" of after it?
Before. You should be able to see it with the tags command after you have pulled it @FlyingLoong
I got a "ACCESS_DENIED" error after ran the "curl localhost:11434/api/tags" I tried to add current user to ollama group "sudo usermod -aG ollama $USER", but it doesn't work :(
"meta http-equiv="refresh" content="0;url=https://7rx90003.ibosscloud.com/ibreports/ibp/bp.html?bu=http://127.0.0.1:11434/api/tags&bc=The+requested+URL+cannot+be+accessed.&ip=xx.xx.xxx.xxx&er=ERR_ACCESS_DENIED"
here is the error message
fetch the latest changes. already fixed