-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on asking follow up questions in Workflow. *TypeError: cannot pickle 'psycopg2.extensions.connection' object* #1667
Comments
Hey @alaap001! Are you still facing this issue? |
Hey @manthanguptaa, hope you're doing well. I found a workaround but it doesn't solve the problem and I am not very happy with it. I moved postgres and other agent initialization in the Here are the working logs for reference:
This isn't the ideal solution, can you please have a brief look at the above attached code and see what could cause users issue when working with continuation messages in workflow with |
@alaap001 sorry for the late reply. We are working on a new release and this will be fixed in that one. It will take a little more time than I had like but the fix should be out soon. |
Hey, thanks for the amazing work.
I am working on a Workflow application, and when using Playground with workflow, I get this error when asking for the second question after the first.
Ig it is likely cz of the psycopg2 connection when working with db and everytime I ask a question it seems to establish a connection causing some issue, can you please let me know what is going wrong and possible solution around workflow chatting?
Error
Code
and playground.py
The text was updated successfully, but these errors were encountered: