From 3ff7810cafcef0a8b80afe715a5f066daa7c5af5 Mon Sep 17 00:00:00 2001 From: jeonbyeongmin Date: Thu, 16 Mar 2023 02:49:13 +0900 Subject: [PATCH] fix: bug that do not support languages - small quotes were used, not backticks --- src/chat.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chat.ts b/src/chat.ts index babc34ab..fabff692 100644 --- a/src/chat.ts +++ b/src/chat.ts @@ -25,7 +25,7 @@ export class Chat { const res = await this.chatAPI.sendMessage(prompt, { promptPrefix: 'hi,', - promptSuffix: `\nlet's start` + (lang ? ', Answer me in ${lang}' : ''), + promptSuffix: `\nlet's start` + (lang ? `, Answer me in ${lang}` : ''), }); console.timeEnd('code-review cost');