UNPKG

@just-every/ensemble

Version:

LLM provider abstraction layer with unified streaming interface

11 lines 680 B
import { ToolCall, type AgentDefinition } from "../types/types.cjs"; export declare function createSummary(content: string, prompt: string, agent?: AgentDefinition): Promise<string>; export declare function processToolResult(toolCall: ToolCall, rawResult: string, agent?: AgentDefinition): Promise<string>; export declare function shouldSummarizeResult(toolName: string, resultLength: number): boolean; export declare function getTruncationMessage(toolName: string): string; export declare function clearSummaryCache(): void; export declare function getSummaryCacheStats(): { size: number; oldestEntry: number | null; }; //# sourceMappingURL=tool_result_processor.d.ts.map