Open hugo921 opened 8 months ago
in the above test,I set LOCAL_IP variable as http://localhost ,so I set LOCAL_IP variable as http://host.docker.internal, and then i open the copilot ,chat with him;the progress is below. " bot's avatar Hey Pal! aaa bot's avatar HTTPConnectionPool(host='host.docker.internal', port=11434): Max retries exceeded with url: /api/generate/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8af4723670>: Failed to establish a new connection: [Errno -2] Name or service not known')) Bot " this time the bot copilot show "Name or service not known"
Are you sure openchat model exists ? Try running this on your machine, if that works, then we might have to look into the code
ollama run openchat:latest
openchat mode exists.
i did according your config, but i got the below reply from bot copilot "HTTPConnectionPool(host='localhost', port=11434): Max retries exceeded with url: /api/generate/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f59863faaf0>: Failed to establish a new connection: [Errno 111] Connection refused'))" i dont know why this connection refused?
Originally posted by @hugo921 in https://github.com/openchatai/OpenCopilot/issues/497#issuecomment-1951060507