UNPKG

@agentica/core

Version:

Agentic AI Library specialized in LLM Function Calling

12 lines (11 loc) 479 B
import type { CompletionUsage } from "openai/resources"; import type { IAgenticaTokenUsageJson } from "../../json/IAgenticaTokenUsageJson"; import type { AgenticaTokenUsage } from "../AgenticaTokenUsage"; export declare function aggregate(props: { kind: Exclude<keyof IAgenticaTokenUsageJson, "aggregate">; completionUsage: CompletionUsage; usage: AgenticaTokenUsage; }): void; export declare const AgenticaTokenUsageAggregator: { aggregate: typeof aggregate; };