From 347e47f1ce79e65e050a37e2c67f995723392e3b Mon Sep 17 00:00:00 2001 From: Faisal Amir Date: Tue, 2 Jan 2024 01:24:16 +0700 Subject: [PATCH] feat: finalize UI form new right panel thread --- web/containers/CardSidebar/index.tsx | 6 +- web/containers/Checkbox/index.tsx | 45 ++- web/containers/ModelConfigInput/index.tsx | 33 +- web/containers/Slider/index.tsx | 44 ++- web/hooks/useUpdateModelParameters.ts | 9 +- web/screens/Chat/ChatBody/index.tsx | 1 - web/screens/Chat/EngineSetting/index.tsx | 9 +- web/screens/Chat/ModelSetting/index.tsx | 9 +- .../ModelSetting/settingComponentBuilder.tsx | 141 ++++--- web/screens/Chat/Sidebar/index.tsx | 349 ++++++++++++------ web/utils/model_param.ts | 1 + 11 files changed, 418 insertions(+), 229 deletions(-) diff --git a/web/containers/CardSidebar/index.tsx b/web/containers/CardSidebar/index.tsx index 5de285569..8d0b42314 100644 --- a/web/containers/CardSidebar/index.tsx +++ b/web/containers/CardSidebar/index.tsx @@ -41,7 +41,7 @@ export default function CardSidebar({ return (
@@ -56,7 +56,7 @@ export default function CardSidebar({ {!asChild && (
setMore(!more)} > @@ -64,7 +64,7 @@ export default function CardSidebar({ )}