Update needSuperChunkedTranslate function to check translatorType
This commit is contained in:
@@ -351,7 +351,7 @@ export async function translateHTML(html: string, reverse:boolean, charArg:simpl
|
|||||||
}
|
}
|
||||||
|
|
||||||
function needSuperChunkedTranslate(){
|
function needSuperChunkedTranslate(){
|
||||||
return true //not needed for now
|
return get(DataBase).translatorType === 'deeplX'
|
||||||
}
|
}
|
||||||
|
|
||||||
let llmCache = new Map<string, string>()
|
let llmCache = new Map<string, string>()
|
||||||
|
|||||||
Reference in New Issue
Block a user