{language.type} { if(proompt.type === 'plain' || proompt.type === 'jailbreak'){ proompt.text = "" proompt.role = "system" } if(proompt.type === 'chat'){ proompt.rangeStart = 0 proompt.rangeEnd = 'end' } }} > {language.formating.plain} {language.formating.jailbreak} {language.Chat} {language.formating.personaPrompt} {language.formating.description} {language.formating.authorNote} {language.formating.lorebook} {language.formating.memory} {#if proompt.type === 'plain' || proompt.type === 'jailbreak'} {language.specialType} {language.noSpecialType} {language.mainPrompt} {language.globalNote} {language.prompt} {language.role} {language.user} {language.character} {language.systemPrompt} {/if} {#if proompt.type === 'chat'} {language.rangeStart} {language.rangeEnd} {#if proompt.rangeEnd === 'end'} { if(proompt.type === 'chat'){ proompt.rangeEnd = 0 } }} /> {:else} { if(proompt.type === 'chat'){ proompt.rangeEnd = 'end' } }} /> {/if} {#if $DataBase.proomptSettings.sendChatAsSystem} {/if} {/if} {#if proompt.type === 'authornote'} {language.defaultPrompt} {/if} {#if proompt.type === 'persona' || proompt.type === 'description' || proompt.type === 'authornote' || proompt.type === 'memory'} {#if !proompt.innerFormat} { if(proompt.type === 'persona' || proompt.type === 'description' || proompt.type === 'authornote' || proompt.type === 'memory'){ proompt.innerFormat = "{{slot}}" } }} /> {:else} {language.innerFormat} { if(proompt.type === 'persona' || proompt.type === 'description' || proompt.type === 'authornote' || proompt.type === 'memory'){ proompt.innerFormat = null } }} /> {/if} {/if}