export class DebugLlmReq {
    time;
    chatLogs;
    response;
    constructor(time, chatLogs, response) {
        this.time = time;
        this.chatLogs = chatLogs;
        this.response = response;
    }
    get tokens() {
        return this.chatLogs.tokens;
    }
    toString() {
        return JSON.stringify(this.toJSON(), null, 2);
    }
    toJSON() {
        return {
            time: this.time,
            tokens: this.tokens,
            response: this.response,
            chat: this.chatLogs,
        };
    }
}
