Open BillShiyaoZhang opened 4 hours ago
I found related issues that might be helpful:
https://github.com/chainlit/issues/1
The suggested solution is to rollback to chainlit
version 1.0.401, as it works with pydantic
2.7.0.
https://github.com/chainlit/issues/2
The issue was fixed in the 0.2.107
release. You can upgrade with pip install -U chainlit
. Let us know if that fixes the issue for you.
To continue talking to Dosu, mention @dosu.
Hi @BillShiyaoZhang ,
I just had the same error log on an existing Chainlit based application. It started about 3 hours ago. When pushing updates and re-deploying the application was crashing with the exact same error.
I looked at the CI/CD logs and found that the pydantic version changed from 2.10.1
to 2.10.2
.
After pinning the version in the requirements.txt to 2.10.1
I was able to succesfully re-deploy.
pydantic==2.10.1
Maybe give that a try and let me know if the error disappears.
@Incospro-Jan It works! Thank you!
Pinning pydantic to 2.10.1 worked for me as well, thank you!
Describe the bug The hello app does not work.
To Reproduce Steps to reproduce the behavior:
Expected behavior The hello app successfully runs in browser
Desktop: