chainlit icon indicating copy to clipboard operation
chainlit copied to clipboard

Copilot mode: add functions to programmatically open and close chatbot window

Open diehmniklas opened this issue 1 month ago • 0 comments
trafficstars

Is your feature request related to a problem? Please describe. Right now, you can toggle the copilot window by using the function toggleChainlitCopilot. This was part of #1638 . This is useful, however, it would be better if you could also programmatically open and close the window. Especially, you could open the chat after X seconds without disturbing users which already opened the chatbot.

Describe the solution you'd like I would add two new function: openChainlitCopilot and closeChainlitCopilot. They would be implemented in a similar way like the already existing function toggleChainlitCopilot is implemented.

Describe alternatives you've considered Right now, I don't see alternatives except for not added the features.

Additional context I think the effort is manageable, so I can work on that feature if it is approved.

diehmniklas avatar Oct 07 '25 13:10 diehmniklas