mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-12-18 01:28:15 +00:00
Adding max record limt in settings
This commit is contained in:
@@ -101,6 +101,12 @@ const checkConfig = async (
|
||||
localStorage.setItem('userSessionId', userSessionId!)
|
||||
}
|
||||
|
||||
let maxRecordLimit = localStorage.getItem('maxRecordLimit');
|
||||
if (!maxRecordLimit) {
|
||||
maxRecordLimit = '20';
|
||||
localStorage.setItem('maxRecordLimit', maxRecordLimit);
|
||||
}
|
||||
|
||||
if (
|
||||
!embeddingModelProviders ||
|
||||
Object.keys(embeddingModelProviders).length === 0
|
||||
|
||||
Reference in New Issue
Block a user