chainlit icon indicating copy to clipboard operation
chainlit copied to clipboard

Chainlit doesnot send on screen if the backend task takes more than ~45 seconds

Open suman12345678 opened this issue 3 months ago • 10 comments

Describe the bug When I run any backend work more than ~ 45 seconed await cl.Message( content=response ).send() => this doesnot send any thing to screen

To Reproduce Steps to reproduce the behavior: do a time.sleep(50) response='fake response' under on_message and send some fake response and you wont see any message on screen

Expected behavior A clear and concise description of what you expected to happen. it should send 'fake response' on screen

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]: chrome
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1] windows
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context Add any other context about the problem here.

suman12345678 avatar Mar 10 '24 13:03 suman12345678