From 112aaf6e1b615a0b3a26a1b406d32d139c30b938 Mon Sep 17 00:00:00 2001 From: JzoNg Date: Sun, 29 Sep 2024 11:22:00 +0800 Subject: [PATCH] fix completion --- web/app/components/app/configuration/debug/index.tsx | 1 + web/app/components/app/configuration/index.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/web/app/components/app/configuration/debug/index.tsx b/web/app/components/app/configuration/debug/index.tsx index c249adc293..5621d9cf7f 100644 --- a/web/app/components/app/configuration/debug/index.tsx +++ b/web/app/components/app/configuration/debug/index.tsx @@ -451,6 +451,7 @@ const Debug: FC = ({ inputs={inputs} visionConfig={{ ...features.file! as VisionSettings, + transfer_methods: features.file!.allowed_file_upload_methods || [], image_file_size_limit: fileUploadConfigResponse?.image_file_size_limit, }} onVisionFilesChange={setCompletionFiles} diff --git a/web/app/components/app/configuration/index.tsx b/web/app/components/app/configuration/index.tsx index 1075f0f5f9..fab7b238c4 100644 --- a/web/app/components/app/configuration/index.tsx +++ b/web/app/components/app/configuration/index.tsx @@ -908,7 +908,7 @@ const Configuration: FC = () => { {!isMobile &&
-
+
setShowAccountSettingModal({ payload: 'provider' })}