Agent termination due to error

This bug has been happening since a few days and I can’t use Antigravity at all, it isn’t tied to a specific model or anything like that, this error just persist after a few tool calls or directly.

trajectory ID: a267a5e6-9e24-483d- 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

| google3/third_party/jetski/cortex/mixins/mixins.GetConversationalHooks.NewCheckpointHook.func7.1

| third_party/jetski/cortex/executors/posthooks/checkpoint_hook.go:43

`google3/third_party/jetski/cortex/executors/executors.(*CascadeWrapper).ViewTrajectory`

| third_party/jetski/cortex/executors/cascade_wrapper.go:258

| google3/third_party/jetski/cortex/mixins/mixins.GetConversationalHooks.NewCheckpointHook.func7

| third_party/jetski/cortex/executors/posthooks/checkpoint_hook.go:33

| google3/third_party/gemini_coder/framework/executor/executor.(*Executor).executeLoop

| third_party/gemini_coder/framework/executor/executor.go:388

| google3/third_party/gemini_coder/framework/executor/executor.(*Executor).Execute

| third_party/gemini_coder/framework/executor/executor.go:277

| google3/third_party/jetski/cortex/cortex.(*CascadeManager).executeHelper.func1

| third_party/jetski/cortex/cascade_manager.go:2053

| google3/third_party/jetski/cortex/cortex.(*CascadeManager).executeHelper.func2

| third_party/jetski/cortex/cascade_manager.go:2136

Wraps: (4) attached stack trace

-- stack trace:

| google3/third_party/jetski/cortex/chatconverters/chatconverters.(*TrajectoryChatConverter).TrajectoryToChatMessagesFromNCheckpointsAgo

| third_party/jetski/cortex/chatconverters/trajectory_chat_converter.go:1135

| google3/third_party/jetski/cortex/chatconverters/chatconverters.(*TrajectoryChatConverter).GetNumTokensSinceLastCheckpoint

| third_party/jetski/cortex/chatconverters/trajectory_chat_converter.go:548

| google3/third_party/jetski/cortex/mixins/mixins.GetConversationalHooks.NewCheckpointHook.func7.1

| third_party/jetski/cortex/executors/posthooks/checkpoint_hook.go:43

| google3/third_party/jetski/cortex/executors/executors.(*CascadeWrapper).ViewTrajectory

| third_party/jetski/cortex/executors/cascade_wrapper.go:258

| google3/third_party/jetski/cortex/mixins/mixins.GetConversationalHooks.NewCheckpointHook.func7

| third_party/jetski/cortex/executors/posthooks/checkpoint_hook.go:33

| google3/third_party/gemini_coder/framework/executor/executor.(*Executor).executeLoop

| third_party/gemini_coder/framework/executor/executor.go:388

| google3/third_party/gemini_coder/framework/executor/executor.(*Executor).Execute

| third_party/gemini_coder/framework/executor/executor.go:277

| google3/third_party/jetski/cortex/cortex.(*CascadeManager).executeHelper.func1

| third_party/jetski/cortex/cascade_manager.go:2053

| [...repeated from below...]

Wraps: (5) attached stack trace

-- stack trace:

| google3/third_party/jetski/cortex/chatconverters/chatconverters.init

| third_party/jetski/cortex/chatconverters/trajectory_chat_converter.go:44

| runtime.doInit1

| third_party/go/gc/src/runtime/proc.go:8105

| runtime.doInit

| third_party/go/gc/src/runtime/proc.go:8072

| runtime.main

| third_party/go/gc/src/runtime/proc.go:258

| runtime.goexit

| third_party/go/gc/src/runtime/asm_amd64.s:1774

Wraps: (6) could not convert a single message before hitting truncation

Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *withstack.withStack (4) *withstac

k.withStack (5) *withstack.withStack (6) *errutil.leafError

Hi @CocofireHD ,

Welcome to the Google AI for Developers!
Our engineering team is currently investigating the matter, and we appreciate your patience as we work toward a resolution.