You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I start TaskWeaver with chainlit run app.py, and the configuration for code execution is execution_service.kernel_mode=local. Sometimes, when a task reaches code_interpreter and the session stops, the Chainlit web service freezes and can no longer provide any service. Has anyone encountered the same issue?
To Reproduce
Steps to reproduce the behavior:
Start the service chainlit run app.py
Type the user query "xxx" 从 sql_pull_data 中获取 ds>='20250101' and ds<='20250105' 按 ds 汇总的 count、max/min emq_timestamp 值
Wait for the response
The web UI shows no exceptions and stays stuck at the 'executing code...' stage.
refresh the UI web, chainlit server stucked, Checking the TaskWeaver-related processes, I found that the Chainlit process is running normally, and the code_interpreter does not stop even after the session is terminated
Expected behavior
A clear and concise description of what you expected to happen. NA if feel not applicable.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment Information (please complete the following information):
OS: Linux
Python Version: 3.10
LLM that you're using: GPT-3
Other Configurations except the LLM api/key related: no
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
When running in console mode, it works fine, but when using the chainlit web ui, an issue occurs. Could it be that after the chainlit session is closed, the Jupyter kernel process executing the code does not shut down, causing a deadlock ?
I'm not sure the reason. Actually, Chainlit is only presented as something in the playground for testing purposes. We don't have bandwidth to develop and maintain our own UI. It is not recommended for serious usages.
Describe the bug
I start TaskWeaver with chainlit run app.py, and the configuration for code execution is execution_service.kernel_mode=local. Sometimes, when a task reaches code_interpreter and the session stops, the Chainlit web service freezes and can no longer provide any service. Has anyone encountered the same issue?
To Reproduce
Steps to reproduce the behavior:
chainlit run app.py
从 sql_pull_data 中获取 ds>='20250101' and ds<='20250105' 按 ds 汇总的 count、max/min emq_timestamp 值
Expected behavior
A clear and concise description of what you expected to happen. NA if feel not applicable.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment Information (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: