Insert custom prompts to the start of the list

This commit is contained in:
Cohee 2024-04-27 23:16:44 +03:00
parent 2847b5ee45
commit b111834122
1 changed files with 1 additions and 1 deletions

View File

@ -776,7 +776,7 @@ class PromptManager {
const promptOrder = this.getPromptOrderForCharacter(character);
const index = promptOrder.findIndex(entry => entry.identifier === prompt.identifier);
if (-1 === index) promptOrder.push({ identifier: prompt.identifier, enabled: false });
if (-1 === index) promptOrder.unshift({ identifier: prompt.identifier, enabled: false });
}
/**