From d136b8546517e5a910d953bc16f8393044f0a6c9 Mon Sep 17 00:00:00 2001 From: omagdy7 Date: Thu, 23 Nov 2023 20:02:42 +0200 Subject: Retain prompt with response --- src/components/PromptAI.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components') diff --git a/src/components/PromptAI.tsx b/src/components/PromptAI.tsx index adae2f9..5fb9942 100644 --- a/src/components/PromptAI.tsx +++ b/src/components/PromptAI.tsx @@ -12,7 +12,7 @@ export const PromptAI = ({ type, theme }: { type: string, theme: string }) => { if (hitEnter) { logseq.hideMainUI() if (type === 'ask ai') { - askAI(inputValue) + askAI(inputValue, "") } else if (type === 'define') { defineWord(inputValue) } else if (type === 'ask with context') { -- cgit v1.2.3