This commit is contained in:
kwaroran
2024-04-24 19:51:07 +09:00
parent f569c1696c
commit 5b598eedd7
10 changed files with 193 additions and 177 deletions

View File

@@ -15,7 +15,7 @@ export async function stableDiff(currentChar:character,prompt:string){
}
const proompt = `Chat:\n${prompt}`
const promptItem = `Chat:\n${prompt}`
const promptbody:OpenAIChat[] = [
{
@@ -25,7 +25,7 @@ export async function stableDiff(currentChar:character,prompt:string){
},
{
role: 'user',
content: proompt
content: promptItem
},
]