From 393e7021267cf66bb6144f59a4cf552698c65c44 Mon Sep 17 00:00:00 2001 From: kwaroran Date: Wed, 24 Apr 2024 00:23:21 +0900 Subject: [PATCH] Fix type error in requestChatDataMain function --- src/ts/process/request.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ts/process/request.ts b/src/ts/process/request.ts index bbe9a7aa..19b33627 100644 --- a/src/ts/process/request.ts +++ b/src/ts/process/request.ts @@ -2296,7 +2296,7 @@ export async function requestChatDataMain(arg:requestDataArgument, model:'model' }) return { type: 'success', - result: unstringlizeChat(v.generated_text, formated, currentChar?.name ?? '') + result: unstringlizeChat(v.generated_text as string, formated, currentChar?.name ?? '') } } if(aiModel.startsWith('local_')){