From f7dd59600a4db2f75aaaafb7845424485a132992 Mon Sep 17 00:00:00 2001 From: "andrew.ng" Date: Mon, 25 May 2026 13:16:00 +0700 Subject: [PATCH] Update test Log for AI --- BACKEND/.env.example | 14 +++++++------- BACKEND/app/services/line_connection.ts | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/BACKEND/.env.example b/BACKEND/.env.example index cd8a942..17122a0 100644 --- a/BACKEND/.env.example +++ b/BACKEND/.env.example @@ -13,22 +13,22 @@ DOMAIN_NAME=http://localhost SOCKET_PORT=8989 FRONTEND_URL=http://localhost:5173 BACKEND_URL=http://localhost:3333 -GOOGLE_CLIENT_ID=532287737140-2e3kb67raaac56u2uohnqveg6gt7vga9.apps.googleusercontent.com -GOOGLE_CLIENT_SECRET=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 +GOOGLE_CLIENT_ID= +GOOGLE_CLIENT_SECRET= SMTP_HOST=smtp.gmail.com SMTP_PORT=587 SMTP_USERNAME= SMTP_PASSWORD= PAYPAL_MODE=sandbox PAYPAL_BASE_URL=https://api-m.sandbox.paypal.com -PAYPAL_CLIENT_ID=ASV19JCbp2rUaaFLtfJ7TQtLFvaIFKMrze6kiK4LJYjcCRPjFWFjcAzFueofJKKzQ0iJTGle4qPUGwex -PAYPAL_CLIENT_SECRET=EDprE7q7sdsY2Lk869AnRI_mIc5VPtDLMfK4bsVlGd6Qswe4T2_By9anIi9mEKe-bNHosW9J2N_urTaH +PAYPAL_CLIENT_ID= +PAYPAL_CLIENT_SECRET= PAYPAL_CURRENCY=USD SEND_ZULIP=1 -ZULIP_REALM="https://zulip.ipsupply.com.au" -ZULIP_USERNAME="networktool-bot@zulip.ipsupply.com.au" -ZULIP_API_KEY="0jMAmOuhfLvBqKJikv5oAkyNM4RIEoAM" +ZULIP_REALM= +ZULIP_USERNAME= +ZULIP_API_KEY= REDIS_HOST=127.0.0.1 REDIS_PORT=6379 REDIS_PASSWORD= \ No newline at end of file diff --git a/BACKEND/app/services/line_connection.ts b/BACKEND/app/services/line_connection.ts index 1ff02a9..6128c7e 100644 --- a/BACKEND/app/services/line_connection.ts +++ b/BACKEND/app/services/line_connection.ts @@ -610,7 +610,7 @@ export default class LineConnection { return } if (script?.send_result || script?.sendResult) { - const detectLog = await this.detectLogWithAI(logScenarios) + const detectLog = await this.detectLogWithAI(this.outputTestLog) const result = mapToLineFormat({ lineNumber: this.config.lineNumber, inventory: this.config.inventory,