ai-utils.js
Version:
Build AI applications, chatbots, and agents with JavaScript and TypeScript.
13 lines (12 loc) • 355 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ConsoleLogger = void 0;
class ConsoleLogger {
onModelCallStarted(event) {
console.log(JSON.stringify(event, null, 2));
}
onModelCallFinished(event) {
console.log(JSON.stringify(event, null, 2));
}
}
exports.ConsoleLogger = ConsoleLogger;