I’ve been hitting this error repeatedly over the past few days and can’t get the agent to work at all. It is happening even with a completely empty workspace. Started happening after I updated Antigravtiy on Arch Linux.
The agent just dies immediately and cant get it to work.
Trajectory IDs:
- `197f071a-01cb-4b2d-945a-f202c9c…
- `fb15c024-3814-4ac1-9072-67ac93…
Debug info:
Trajectory ID: a3ba6a5f-24e3-41ee-90ef-98d1eb6...
Error: agent executor error: could not convert a single message before hitting truncation
(1) attached stack trace
-- stack trace:
| google3/third_party/jetski/cortex/cortex.(*CascadeManager).executeHelper.func1
| third_party/jetski/cortex/cascade_manager.go:2088
| google3/third_party/jetski/cortex/cortex.(*CascadeManager).executeHelper.func2
| third_party/jetski/cortex/cascade_manager.go:2136
Wraps: (2) agent executor error
Wraps: (3) attached stack trace
-- stack trace:
| google3/third_party/jetski/cortex/chatconverters/chatconverters.(*TrajectoryChatConverter).GetNumTokensSinceLastCheckpoint
| third_party/jetski/cortex/chatconverters/trajectory_chat_converter.go:550
...
Wraps: (6) could not convert a single message before hitting truncation
Error types: (1) *withstack.withStack (2) *errutil.withPrefix ... (6) *errutil.leafError