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
Additional context
Downgrading Pydantic doesn't work. The only way this might work is to mount the chainlit through FastAPI, but that limits Chainlit capabilites significantly:
fromfastapiimportFastAPIfromchainlit.utilsimportmount_chainlitfromchainlit.contextimportinit_http_contextimportchainlitascl# Command to start is uvicorn main:app --host 127.0.0.1 --port 80app=FastAPI()
mount_chainlit(app=app, target="chat.py", path="")
The text was updated successfully, but these errors were encountered:
Describe the bug
When integration SK with Chainlit as UI, the app exits right away with the error
TypeError: cannot pickle '_thread.RLock' object
To Reproduce
Steps to reproduce the behavior:
chainlit run test.py
Expected behavior
Chainlit should be able to run as expected with SK imports
Platform
sk-bug.txt
Additional context
Downgrading Pydantic doesn't work. The only way this might work is to mount the chainlit through FastAPI, but that limits Chainlit capabilites significantly:
The text was updated successfully, but these errors were encountered: