We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b992dd commit a071cb0Copy full SHA for a071cb0
mikupad.html
@@ -6211,10 +6211,11 @@
6211
6212
// predicts the prompt preview
6213
useEffect(() => {
6214
- if (fimPromptInfo !== undefined || cancel || !showPromptPreview)
6215
- return;
+ if (promptPreviewChunks.length)
+ setPromptPreviewChunks([]);
6216
6217
- setPromptPreviewChunks([]);
+ if (fimPromptInfo !== undefined || cancel || !showPromptPreview || endpointAPI == API_AI_HORDE)
6218
+ return;
6219
6220
const ac = new AbortController();
6221
const to = setTimeout(async () => {
0 commit comments