Update needSuperChunkedTranslate function to check translatorType

This commit is contained in:
kwaroran
2024-03-25 20:18:47 +09:00
parent f3b8ea7781
commit b7f53523e0

View File

@@ -351,7 +351,7 @@ export async function translateHTML(html: string, reverse:boolean, charArg:simpl
}
function needSuperChunkedTranslate(){
return true //not needed for now
return get(DataBase).translatorType === 'deeplX'
}
let llmCache = new Map<string, string>()