Type alias SessionSummarizerInvoker
SessionSummarizerInvoker: ((system, user) => Promise<{
text: string;
tokensIn: number;
tokensOut: number;
model: string;
}>)
Type declaration
- (system, user): Promise<{
text: string;
tokensIn: number;
tokensOut: number;
model: string;
}> Parameters
- system: string
- user: string
Returns Promise<{
text: string;
tokensIn: number;
tokensOut: number;
model: string;
}>
Callable that invokes a chat LLM given a system + user prompt and returns the generated text. The bench constructs one from an
IReader, the reader interface inframerslab/agentos-bench(src/readers/IReader.ts), so summarization reuses the same pricing + timeout plumbing as the benchmark's reader.