From 9de42d59491dbcd5e4bab33c87f6fd67c3f7ff9d Mon Sep 17 00:00:00 2001 From: Fatih Turker Date: Sun, 14 May 2023 04:01:31 +0300 Subject: [PATCH] Enhance Logging --- lib/agi/main.agi.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/agi/main.agi.ts b/lib/agi/main.agi.ts index 641c880..cc8bf33 100644 --- a/lib/agi/main.agi.ts +++ b/lib/agi/main.agi.ts @@ -196,7 +196,9 @@ export class MainAGI { ) { for (const a of parsed.actions) { const actionResponse = { action: a } as ActionResponse; + this.loggerUtil.log('Taking action: ', a); actionResponse.response = await this.actionUtil.takeAction(a); + this.loggerUtil.log('Action response: ', actionResponse.response); actionResponses.push(actionResponse); } }