[fix] ables
This commit is contained in:
@@ -405,4 +405,6 @@ export const languageEnglish = {
|
|||||||
rangeEnd: "Range End",
|
rangeEnd: "Range End",
|
||||||
untilChatEnd: "Until Chat End",
|
untilChatEnd: "Until Chat End",
|
||||||
usePromptTemplate: "Use Prompt Template",
|
usePromptTemplate: "Use Prompt Template",
|
||||||
|
specialType: "Special Type",
|
||||||
|
noSpecialType: "No Special Type",
|
||||||
}
|
}
|
||||||
@@ -314,7 +314,7 @@ export const languageKorean = {
|
|||||||
noweb: "이 기능은 웹에서는 작동하지 않습니다.",
|
noweb: "이 기능은 웹에서는 작동하지 않습니다.",
|
||||||
createBotInternet: "인터넷에서 AI로 캐릭터 생성하기",
|
createBotInternet: "인터넷에서 AI로 캐릭터 생성하기",
|
||||||
createBotInternetAlert: "캐릭터의 이름과 설명을 입력해주세요.",
|
createBotInternetAlert: "캐릭터의 이름과 설명을 입력해주세요.",
|
||||||
able:"가능",
|
able:"활성화됨",
|
||||||
assetWidth: "에셋 넓이",
|
assetWidth: "에셋 넓이",
|
||||||
animationSpeed: "에니메이션 속도",
|
animationSpeed: "에니메이션 속도",
|
||||||
screenshot: "스크린샷",
|
screenshot: "스크린샷",
|
||||||
|
|||||||
@@ -34,9 +34,9 @@
|
|||||||
</SelectInput>
|
</SelectInput>
|
||||||
|
|
||||||
{#if proompt.type === 'plain' || proompt.type === 'jailbreak'}
|
{#if proompt.type === 'plain' || proompt.type === 'jailbreak'}
|
||||||
<span>{language.type}2</span>
|
<span>{language.specialType}</span>
|
||||||
<SelectInput bind:value={proompt.type2}>
|
<SelectInput bind:value={proompt.type2}>
|
||||||
<OptionInput value="normal">{language.formating.plain}</OptionInput>
|
<OptionInput value="normal">{language.noSpecialType}</OptionInput>
|
||||||
<OptionInput value="main">{language.mainPrompt}</OptionInput>
|
<OptionInput value="main">{language.mainPrompt}</OptionInput>
|
||||||
<OptionInput value="globalNote">{language.globalNote}</OptionInput>
|
<OptionInput value="globalNote">{language.globalNote}</OptionInput>
|
||||||
</SelectInput>
|
</SelectInput>
|
||||||
|
|||||||
@@ -448,8 +448,11 @@ export async function sendChat(chatProcessIndex = -1,arg:{chatAdditonalTokens?:n
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if(!db.promptTemplate){
|
||||||
unformated.lastChat.push(chats[chats.length - 1])
|
unformated.lastChat.push(chats[chats.length - 1])
|
||||||
chats.splice(chats.length - 1, 1)
|
chats.splice(chats.length - 1, 1)
|
||||||
|
}
|
||||||
|
|
||||||
unformated.chats = chats
|
unformated.chats = chats
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user