Found this in console logs happening again and again
ImportError: cannot import name 'AgentResponse' from 'line.events' (/usr/local/lib/python3.10/site-packages/line/events.py)
Runner failed with exit code: 1
Traceback (most recent call last):
File "/pkg/_runtime/container_io_manager.py", line 740, in handle_user_exception
yield
#Cant deploy agents. Cannot import 'AgentResponse' issue, please help
1 messages · Page 1 of 1 (latest)
Hey @strong spade apologies about the disruption here! You'll need to pin cartesia-line==0.1.12 in your agent's pyproject.toml and re-deploy.
We recently released v0.2.0 of the SDK, which introduces breaking changes. If your project doesn't pin the SDK version then you may be unknowingly getting upgraded to the latest version.
yes, that works too!
i dont see a pyproject.toml in my repo
you can replace cartesia-line with cartesia-line==0.1.12 in your requirements.txt
thanks so much