From 1dbf7a2940ceec31ba6bc032b9650e08e63294a0 Mon Sep 17 00:00:00 2001 From: "Genki.Takeuchi" Date: Sun, 5 Jan 2025 20:42:00 +0900 Subject: [PATCH] =?UTF-8?q?aichat=E3=81=ABGemini=E3=82=92=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E3=81=97=E3=81=9F=E3=81=A8=E3=81=8D=E3=81=AB=E3=81=86?= =?UTF-8?q?=E3=81=BE=E3=81=8F=E8=BF=94=E7=AD=94=E3=81=A7=E3=81=8D=E3=81=AA?= =?UTF-8?q?=E3=81=84=E3=83=90=E3=82=B0=E3=82=92=E4=BF=AE=E6=AD=A3=20(#157)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/aichat/index.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/modules/aichat/index.ts b/src/modules/aichat/index.ts index cf62ce5..d275c25 100644 --- a/src/modules/aichat/index.ts +++ b/src/modules/aichat/index.ts @@ -127,7 +127,6 @@ export default class extends Module { try { res_data = await got.post(options, {parseJson: (res: string) => JSON.parse(res)}).json(); - {parseJson: res => JSON.parse(res)}).json(); this.log(JSON.stringify(res_data)); if (res_data.hasOwnProperty('candidates')) { if (res_data.candidates.length > 0) {