agents
agents copied to clipboard
useAgentChat stops working when new worker is deployed
When the page is currently open and you deploy a new version of the worker (or redeploy), it seems like the websocket is reconnected. However, when sending new messages, it will just hang. You will need to refresh to get everything working again.
How do we fix this? The "status" and "error" value from useAgentChat shows no indication of an error.
ouch, looking into it
I'm not sure what exactly fixed it, but not facing this issue anymore. Could be upgrading to the latest agent-sdk fixes it. Eitherway, I'll close this issue for now @threepointone
thank you, good to know!