LlmResponse: {
    completion: string;
    stats: {
        inputTokenCount?: number;
        latencyMs?: number;
        outputTokenCount?: number;
    };
    toolCalls?: { arguments?: any; toolName: string }[];
}

Type declaration

  • completion: string
  • stats: { inputTokenCount?: number; latencyMs?: number; outputTokenCount?: number }
  • OptionaltoolCalls?: { arguments?: any; toolName: string }[]