refactor(agents): hide context cache reset helper

This commit is contained in:
Vincent Koc
2026-06-17 10:10:03 +08:00
parent 599abac902
commit 4d3e355a52

View File

@@ -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();