Fix type error in requestChatDataMain function
This commit is contained in:
@@ -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_')){
|
||||||
|
|||||||
Reference in New Issue
Block a user