ограничение векторного поиска, смена llm и проверка объёма ОЗУ

This commit is contained in:
2026-02-07 18:49:20 +03:00
parent 8ad70cdb7c
commit 5b7ea9276b
12 changed files with 88 additions and 33 deletions
+1 -1
View File
@@ -731,7 +731,7 @@ $(document).ready(() => {
}
try {
const data = await Api.get("/api/users?skip=0&limit=500");
const data = await Api.get("/api/users/?skip=0&limit=500");
cachedUsers = data.users;
renderUsersList(cachedUsers);
} catch (error) {
+1 -1
View File
@@ -504,7 +504,7 @@ $(() => {
$(SELECTORS.adminActions).removeClass("hidden");
}
Promise.all([Api.get("/api/authors"), Api.get("/api/genres")])
Promise.all([Api.get("/api/authors/"), Api.get("/api/genres/")])
.then(([authorsData, genresData]) => {
initAuthors(authorsData.authors || []);
initGenres(genresData.genres || []);
+1 -1
View File
@@ -21,7 +21,7 @@ $(document).ready(() => {
showLoadingState();
Promise.all([
Api.get("/api/users?skip=0&limit=100"),
Api.get("/api/users/?skip=0&limit=100"),
Api.get("/api/users/roles"),
])
.then(([usersData, rolesData]) => {