From b0c2e607b8bab54ee3e23f2a285e50cbe5ba7101 Mon Sep 17 00:00:00 2001 From: Zhuoran Date: Tue, 13 Aug 2024 10:06:51 +0800 Subject: [PATCH] Set property "admin" of AdvancedParams in Controls --- src/lib/components/chat/Controls/Controls.svelte | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/components/chat/Controls/Controls.svelte b/src/lib/components/chat/Controls/Controls.svelte index 69034a305..31b58ab90 100644 --- a/src/lib/components/chat/Controls/Controls.svelte +++ b/src/lib/components/chat/Controls/Controls.svelte @@ -9,6 +9,8 @@ import FileItem from '$lib/components/common/FileItem.svelte'; import Collapsible from '$lib/components/common/Collapsible.svelte'; + import { user } from '$lib/stores'; + export let models = []; export let chatFiles = []; @@ -78,7 +80,7 @@
- +