From b200e98b000b7787742b5efffb39f4cfa6b61eb7 Mon Sep 17 00:00:00 2001 From: Genesaret Johnes Date: Sun, 18 Feb 2024 20:04:24 +0700 Subject: [PATCH] test: Gemini 3rd --- src/services/external/gemini.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/external/gemini.ts b/src/services/external/gemini.ts index 7c33553..3b26536 100644 --- a/src/services/external/gemini.ts +++ b/src/services/external/gemini.ts @@ -113,7 +113,7 @@ const geminiTextOnly: Executor = async (client, message) => { } } catch (error) { // wweb.replyMessage(message, 'Maaf, terjadi kesalahan saat menjawab pertanyaan anda. Silahkan coba lagi'); - wweb.replyMessage(message, (error as Error).message + ' at ' + (error as AxiosError).stack); + wweb.replyMessage(message, (error as Error).message + ' at ' + (error as AxiosError).response?.data as string); } }