diff options
| author | omagdy7 <omar.professional8777@gmail.com> | 2023-11-23 20:02:42 +0200 |
|---|---|---|
| committer | omagdy7 <omar.professional8777@gmail.com> | 2023-11-23 20:02:42 +0200 |
| commit | d136b8546517e5a910d953bc16f8393044f0a6c9 (patch) | |
| tree | 84b7e4ada9c1b95e6f2cc9410402da9f76a53329 /src/components | |
| parent | 9c50d78cc5c1d611edba988f65c58a1bbbfd5697 (diff) | |
| download | ollama-logseq-d136b8546517e5a910d953bc16f8393044f0a6c9.tar.xz ollama-logseq-d136b8546517e5a910d953bc16f8393044f0a6c9.zip | |
Retain prompt with response
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/PromptAI.tsx | 2 |
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') { |
