From 2603ac30bc4dc04069759cd1d5ce9eb2f747cd9e Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sun, 7 Jan 2024 22:14:08 -0800 Subject: [PATCH] feat: documents --- backend/config.py | 2 +- src/lib/components/layout/Sidebar.svelte | 50 +++++++++++++++++++----- src/routes/(app)/documents/+page.svelte | 0 3 files changed, 42 insertions(+), 10 deletions(-) create mode 100644 src/routes/(app)/documents/+page.svelte diff --git a/backend/config.py b/backend/config.py index 03718a06..2a96d018 100644 --- a/backend/config.py +++ b/backend/config.py @@ -58,7 +58,7 @@ if OPENAI_API_BASE_URL == "": # WEBUI_VERSION #################################### -WEBUI_VERSION = os.environ.get("WEBUI_VERSION", "v1.0.0-alpha.50") +WEBUI_VERSION = os.environ.get("WEBUI_VERSION", "v1.0.0-alpha.61") #################################### # WEBUI_AUTH (Required for security) diff --git a/src/lib/components/layout/Sidebar.svelte b/src/lib/components/layout/Sidebar.svelte index 7ea08f98..927d87d6 100644 --- a/src/lib/components/layout/Sidebar.svelte +++ b/src/lib/components/layout/Sidebar.svelte @@ -68,7 +68,7 @@
{#if $user?.role === 'admin'} -
+
@@ -136,7 +136,7 @@
-
+
+ +
+ +
{/if}
diff --git a/src/routes/(app)/documents/+page.svelte b/src/routes/(app)/documents/+page.svelte new file mode 100644 index 00000000..e69de29b