Fix type error in requestChatDataMain function

This commit is contained in:
kwaroran
2024-04-24 00:23:21 +09:00
parent ffe27d02fc
commit 393e702126

View File

@@ -2296,7 +2296,7 @@ export async function requestChatDataMain(arg:requestDataArgument, model:'model'
}) })
return { return {
type: 'success', type: 'success',
result: unstringlizeChat(v.generated_text, formated, currentChar?.name ?? '') result: unstringlizeChat(v.generated_text as string, formated, currentChar?.name ?? '')
} }
} }
if(aiModel.startsWith('local_')){ if(aiModel.startsWith('local_')){