Allow "none" position for extension prompt injects

This commit is contained in:
Cohee
2024-07-28 00:26:44 +03:00
parent 1ad57e6ff6
commit 87e562b752
5 changed files with 28 additions and 5 deletions

View File

@ -570,6 +570,7 @@ export const system_message_types = {
* @enum {number} Extension prompt types
*/
export const extension_prompt_types = {
NONE: -1,
IN_PROMPT: 0,
IN_CHAT: 1,
BEFORE_PROMPT: 2,