From 0f55a3da52d1e3848d174fbe25f4cf7cbc386147 Mon Sep 17 00:00:00 2001 From: jnjpng Date: Fri, 5 Dec 2025 16:07:24 -0800 Subject: [PATCH] fix: increase tool upsert timeout (#158) --- src/tools/manager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/manager.ts b/src/tools/manager.ts index c6f4587..54ca942 100644 --- a/src/tools/manager.ts +++ b/src/tools/manager.ts @@ -489,7 +489,7 @@ export function isGeminiModel(modelIdentifier: string): boolean { * @returns Promise that resolves when all tools are registered */ export async function upsertToolsToServer(client: Letta): Promise { - const OPERATION_TIMEOUT = 5000; // 5 seconds + const OPERATION_TIMEOUT = 20000; // 20 seconds const MAX_TOTAL_TIME = 30000; // 30 seconds const startTime = Date.now();