gpt4free
gpt4free copied to clipboard
Hardcoded Ollama host
Hello
Runnig gpt4free from a docker container, Ollama server locally installed on the host is unreachable: the adresse 127.0.0.1 is hardcoded
I'd like to be able to configure the Ollama host and port for exemple from an environment variable.
In my case, host should be 'host.docker.interal' instead of 'localhost' or 127.0.0.1.
PS: I can open a PR.