mirror of
https://github.com/wowlikon/LiB.git
synced 2026-03-21 23:53:38 +00:00
ограничение векторного поиска, смена llm и проверка объёма ОЗУ
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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 || []);
|
||||
|
||||
@@ -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]) => {
|
||||
|
||||
Reference in New Issue
Block a user