Thats correct, as far as I see. What errors do you get? I guess you have cross origin problems and/or your ollama not configured to allow connections from different hosts.
You missing a 4 in at your port
its 11434 and not 1143, if you didnt change it
Yes, I do everything local in this case, but I show the variables you need to set for origin and different host, as well as the docs from ollama where you find more infos.
@leex279 Sorry to bother you again, the connection to Ollama is working now and i can chat with it, it also answers BUT when i ask it to code something then i get this error.
As you can see it also tells me i dont have an APIkey set but i guess thats because im running it localy? Or do i need to set the BASE_URL and a key? If yes how would i get an API key from my Ollama server?