Force web to not use promptInfoInsideChat
This commit is contained in:
@@ -560,6 +560,12 @@ export function setDatabase(data:Database){
|
||||
otherAx: data.fallbackModels.otherAx.filter((v) => v !== '')
|
||||
}
|
||||
data.customModels ??= []
|
||||
|
||||
//@ts-ignore
|
||||
if(!__NODE__ && !window.__TAURI_INTERNALS__){
|
||||
//this is intended to forcely reduce the size of the database in web
|
||||
data.promptInfoInsideChat = false
|
||||
}
|
||||
changeLanguage(data.language)
|
||||
setDatabaseLite(data)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user