[feat] realm upload and search

This commit is contained in:
kwaroran
2023-06-04 05:58:58 +09:00
parent 20a58e5f06
commit de1c338f9a
6 changed files with 186 additions and 46 deletions

View File

@@ -280,14 +280,14 @@ export function characterFormatUpdate(index:number|character){
cha.systemPrompt = cha.systemPrompt ?? ''
cha.tags = cha.tags ?? []
cha.creator = cha.creator ?? ''
cha.characterVersion = cha.characterVersion ?? 0
cha.characterVersion = cha.characterVersion ?? ''
cha.personality = cha.personality ?? ''
cha.scenario = cha.scenario ?? ''
cha.firstMsgIndex = cha.firstMsgIndex ?? -1
cha.additionalData = cha.additionalData ?? {
tag: [],
creator: '',
character_version: 0
character_version: ''
}
cha.voicevoxConfig = cha.voicevoxConfig ?? {
SPEED_SCALE: 1,
@@ -356,7 +356,7 @@ export function createBlankChar():character{
alternateGreetings:[],
tags:[],
creator:"",
characterVersion: 0,
characterVersion: '',
personality:"",
scenario:"",
firstMsgIndex: -1,