sebastiengilbert73 / chat_service

A service to chat
MIT License
13 stars 7 forks source link

Unable to pull from chat_server. #3

Open zodiacRP opened 4 months ago

zodiacRP commented 4 months ago

Hi, chat_server is running well but it appears there is no respond and hence the GUI is unable to connect. Is there some settings problem? Capture chat_server

sebastiengilbert73 commented 4 months ago

Hello zodiacRP, In a terminal, can you call $ curl ? There is a check that is called when chainlit_interface.app.py is started, to make sure that the service is running. If curl is not installed, this check will fail. I realize this error message is misleading. I will correct this. In the meantime, if curl is not installed on your system, install it and I believe it should fix your problem.

sebastiengilbert73 commented 4 months ago

I changed the code. The check is now performed with a call to requests.get() instead of curl. Do: $ git pull origin main

zodiacRP commented 4 months ago

Hi Sebastien,

The curl is ok now. However, when I rerun the chat_server.py, it does appear the cache of the LLM seems to disappear and the size of the entire VM I am running is reduced. Errors on python also occurred. I thin k there is some issue with the code on reruns. Perhaps you can check it.

Best, zodiacRP