rashadphz / farfalle

🔍 AI search engine - self-host with local or cloud LLMs
https://www.farfalle.dev/
Apache License 2.0
2.21k stars 166 forks source link

how to solve 500: Missing keys: ['OLLAMA_API_BASE'] #54

Closed FemBoxbrawl closed 1 week ago

FemBoxbrawl commented 2 weeks ago

Screenshot 2024-06-19 144631

i am not a coder so i have no idea what to do

FemBoxbrawl commented 2 weeks ago

what do I have to do to make this work...

arsaboo commented 2 weeks ago

Please read the docs carefully....and add the relevant configuration option.

FemBoxbrawl commented 2 weeks ago

i forgot to mention i already had ollama running while this was happening

rashthedude commented 2 weeks ago

I'm having the same issue. The documentations aren't extremely clear on this matter. Can someone help or elaborate?

Schmoaaaaah commented 2 weeks ago

you should already have a enviorment variable OLLAMA_HOST just add another one with OLLAMA_API_BASE and the same content like OLLAMA_HOST

rashadphz commented 1 week ago

This is my mistake, thanks for pointing it out! I just updated the docker files, this should be fixed.