From d8bb6c34f54ef70889884e2f2bc3231d57631867 Mon Sep 17 00:00:00 2001 From: VXNCXNX Date: Sun, 9 Aug 2026 08:34:19 -0300 Subject: [PATCH] fix(chat): reduce file size Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com> --- open-sse/handlers/chatCore.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/open-sse/handlers/chatCore.ts b/open-sse/handlers/chatCore.ts index 0977854df1..f9ffe5b34b 100644 --- a/open-sse/handlers/chatCore.ts +++ b/open-sse/handlers/chatCore.ts @@ -392,7 +392,6 @@ import { isSmallEnoughForSemanticCache } from "../utils/estimateSize.ts"; // extractSystemRoleMessages extracted to chatCore/claudeSystemRole.ts (#3501); re-exported above so // existing importers (e.g. tests/unit/system-role-extraction.test.ts) keep resolving it from here. - export async function handleChatCore({ body, modelInfo, @@ -5036,7 +5035,6 @@ export async function handleChatCore({ }), }; } - export function isTokenExpiringSoon(expiresAt, bufferMs = 5 * 60 * 1000) { if (!expiresAt) return false; const expiresAtMs = new Date(expiresAt).getTime();