From 8c6ed19719d69b379b5a2ee48cbb61e8a78f92f4 Mon Sep 17 00:00:00 2001 From: cpacker Date: Wed, 3 Dec 2025 16:52:29 -0800 Subject: [PATCH] fix: show 'Resuming agent...' during loading when resuming MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Set isResumingSession early in the init flow so the loading message correctly shows 'Resuming agent...' instead of 'Creating agent...' 🤖 Generated with [Letta Code](https://letta.com) Co-Authored-By: Letta --- src/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.ts b/src/index.ts index fbb2d33..815a55d 100755 --- a/src/index.ts +++ b/src/index.ts @@ -479,6 +479,9 @@ async function main() { } } + // Set resuming state early so loading messages are accurate + setIsResumingSession(!!resumingAgentId); + // If resuming an existing agent, load the exact tools attached to it // Otherwise, load a full toolset based on model/toolset preference if (resumingAgentId && !toolset) {