Sreekanth Settur
Sreekanth Settur
Hey, I don't know if that's a good fix or bad, I added a while True in main file so, the chainlit instance didn't get killed. I continued with that,...
I suspect, its the issue with chainlit and nothing related to LLM, or vector store, as a work around you can have a while True in main file.
Hope this should help imports ... @on_chat_start async def chat_start() ... @cl.on_message async def main() wait for user input call chain invoke if __name__=="__main__": while True: pass