Merge branch 'dev' into feat/disable-community-sharing

This commit is contained in:
Timothy Jaeryang Baek
2024-05-26 10:00:51 -10:00
committed by GitHub
54 changed files with 726 additions and 81 deletions

View File

@@ -22,6 +22,7 @@
prompts,
documents,
tags,
banners,
showChangelog,
config
} from '$lib/stores';
@@ -33,6 +34,7 @@
import ShortcutsModal from '$lib/components/chat/ShortcutsModal.svelte';
import ChangelogModal from '$lib/components/ChangelogModal.svelte';
import Tooltip from '$lib/components/common/Tooltip.svelte';
import { getBanners } from '$lib/apis/configs';
const i18n = getContext('i18n');
@@ -82,6 +84,9 @@
(async () => {
documents.set(await getDocs(localStorage.token));
})(),
(async () => {
banners.set(await getBanners(localStorage.token));
})(),
(async () => {
tags.set(await getAllChatTags(localStorage.token));
})()