aboutsummaryrefslogtreecommitdiff
path: root/src/components/PromptAI.tsx
diff options
context:
space:
mode:
authoromagdy7 <omar.professional8777@gmail.com>2023-11-23 20:02:42 +0200
committeromagdy7 <omar.professional8777@gmail.com>2023-11-23 20:02:42 +0200
commitd136b8546517e5a910d953bc16f8393044f0a6c9 (patch)
tree84b7e4ada9c1b95e6f2cc9410402da9f76a53329 /src/components/PromptAI.tsx
parent9c50d78cc5c1d611edba988f65c58a1bbbfd5697 (diff)
downloadollama-logseq-d136b8546517e5a910d953bc16f8393044f0a6c9.tar.xz
ollama-logseq-d136b8546517e5a910d953bc16f8393044f0a6c9.zip
Retain prompt with response
Diffstat (limited to 'src/components/PromptAI.tsx')
-rw-r--r--src/components/PromptAI.tsx2
1 files changed, 1 insertions, 1 deletions
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') {