fix: display cached llm translations while sending message
This commit is contained in:
@@ -231,7 +231,9 @@ export async function translateHTML(html: string, reverse:boolean, charArg:simpl
|
||||
let DoingChat = get(doingChat)
|
||||
if(DoingChat){
|
||||
if(isExpTranslator()){
|
||||
return html
|
||||
if(!(db.translatorType === 'llm' && await getLLMCache(html) !== null)){
|
||||
return html
|
||||
}
|
||||
}
|
||||
}
|
||||
if(db.translatorType === 'llm'){
|
||||
|
||||
Reference in New Issue
Block a user