cocktailpeanutlabs / devika

9 stars 4 forks source link

Failed to connect to server #1

Open FunkyJamma opened 6 months ago

FunkyJamma commented 6 months ago

I installed it and when i run it i just get "Failed to connect to server" in the ui and nothing works.

Nicklasfre commented 3 months ago

same problem with devika in Pinokio

bigfordy1983 commented 2 months ago

Same problem

djethino commented 1 month ago

you have to downgrade mistralai lib to mistralai==0.4.2 https://github.com/stitionai/devika/issues/640

to explain more, for pinokio, if you are on windows, you have to go to your "pinokio\api\devika.git\app" folder in powershell and launch:

./env/Scripts/Activate.ps1
pip install --force-reinstall mistralai==0.4.2

I had another lib error, and I corrected it with: pip install curl_cffi

on my side, I use Ollama in local and I had to install the CUDA version of Torch in Devika to make it work: pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118

I hope it will help