chainlit icon indicating copy to clipboard operation
chainlit copied to clipboard

attempt to fix issue #2611

Open lupingsse opened this issue 3 weeks ago • 1 comments
trafficstars

See issue #2611 for a detailled explanation of cause for this request.

Calling contex.emitter.resume_thread(thread) after executing the hook to on_chat_resume, restores the saved thread and, thereby, overwrites any potential UI (e.g., chainlit.Message().send()) triggered during on_chat_resume.

If we didn't overlook any specific reasons against calling resume_thead before on_chat_resume, this would fix issue #2611.

lupingsse avatar Oct 29 '25 14:10 lupingsse