From 4d3e355a5233da00ad25a5e4cec3713087f6a72b Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Wed, 17 Jun 2026 10:10:03 +0800 Subject: [PATCH] refactor(agents): hide context cache reset helper --- src/agents/context-runtime-state.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/agents/context-runtime-state.ts b/src/agents/context-runtime-state.ts index 09b9669763d7..49e6f6c8f51c 100644 --- a/src/agents/context-runtime-state.ts +++ b/src/agents/context-runtime-state.ts @@ -73,7 +73,7 @@ export function beginContextWindowCacheRefresh(): void { } /** Reset prepared context-window state after model config or plugin metadata changes. */ -export function resetContextWindowCache(): void { +function resetContextWindowCache(): void { beginContextWindowCacheRefresh(); CONTEXT_WINDOW_RUNTIME_STATE.modelsConfigRuntimeLoader.clear(); MODEL_CONFIGURED_CONTEXT_TOKEN_CACHE.clear();