Allow zero depth for floating prompt

This commit is contained in:
SillyLossy
2023-03-28 17:49:02 +03:00
parent ae7e21d6c5
commit cd4f699e74
2 changed files with 3 additions and 3 deletions

View File

@ -107,7 +107,7 @@ function setOpenAIMessages(chat) {
j++;
}
for (let i = 1; i < 100; i++) {
for (let i = 0; i < 100; i++) {
const anchor = getExtensionPrompt(extension_prompt_types.IN_CHAT, i);
if (anchor && anchor.length) {