[feat] new chat settings in japanese
This commit is contained in:
@@ -57,6 +57,10 @@ export function unstringlizeChat(text:string, formated:OpenAIChat[], char:string
|
||||
export function stringlizeAINChat(formated:OpenAIChat[], char:string = ''){
|
||||
let resultString:string[] = []
|
||||
for(const form of formated){
|
||||
if(form.memo.startsWith("newChat")){
|
||||
resultString.push("[新しいチャットの始まり]")
|
||||
continue
|
||||
}
|
||||
if(form.role === 'system'){
|
||||
resultString.push(form.content)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user