@gguf/claw
Version:
Multi-channel AI gateway with extensible messaging integrations
10 lines (9 loc) • 528 B
TypeScript
import type { EffectiveContextPruningSettings } from "./settings.js";
export type ContextPruningRuntimeValue = {
settings: EffectiveContextPruningSettings;
contextWindowTokens?: number | null;
isToolPrunable: (toolName: string) => boolean;
lastCacheTouchAt?: number | null;
};
export declare const setContextPruningRuntime: (sessionManager: unknown, value: ContextPruningRuntimeValue | null) => void;
export declare const getContextPruningRuntime: (sessionManager: unknown) => ContextPruningRuntimeValue | null;