You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Found out that the 'OPENAI_API_TYPE' value 'llama2' does not work. I also noticed that the `llm = get_llm()` is used 3 times but not used in the code. A llm is used via `chat = get_chat_model()`.
TLDR. To get OpenCopilot working with locally run LLM via Ollama set these variables in the .env file:
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?
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"
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 #497 (comment)
The text was updated successfully, but these errors were encountered: