Goose cannot connect to Ollama on Windows 10: "Execution error: error sending request for url (http://localhost:11434/v1/chat/completions)"
Bug report description:
Platform: Windows 10 x64
Both Goose and Ollama are installed and running on the same machine.
Ollama responds to requests using curl, for example:
curl http://localhost:11434/api/tags {"models":[{"name":"qwen2.5:latest", ...}]} In Goose, the Ollama provider is selected and OLLAMA_HOST is set to http://localhost:11434.
When I send any request via Goose, I get the following error:
Execution error: error sending request for url (http://localhost:11434/v1/chat/completions) The port is not blocked by firewall or antivirus, and both programs run in the same Windows environment (not WSL, not Docker). Restarting and reconfiguring do not help.
Question:
Why does Goose fail to see Ollama even though Ollama responds directly via curl, and how can this be fixed?
Reference to the official troubleshooting steps I have followed:
https://block.github.io/goose/docs/troubleshooting/#using-ollama-provider
время ожидание ответа в оллама окне от момента вопроса до момента ответа доходит до 10 мин и ответ выводится до 10 минут чуть ли не по буквам :( ноутбук i3 2го поколения 8гиг DDR4
seems as if goose isn't streaming the request for windows for some reason.
can you create a custom provider and share that? it might be a subtle url issue
closing as should be solvable via custom and other ways. please open if more information.