From d242e4b95bd06903694d05ffe4b64e89eed8f587 Mon Sep 17 00:00:00 2001 From: Ganondorf <364776488@qq.com> Date: Thu, 24 Apr 2025 11:55:29 +0800 Subject: [PATCH 1/3] fix agentflow error if first variable is num (#18660) Co-authored-by: lizb --- api/core/app/apps/message_based_app_generator.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/core/app/apps/message_based_app_generator.py b/api/core/app/apps/message_based_app_generator.py index b1f527c0f2..995082b79d 100644 --- a/api/core/app/apps/message_based_app_generator.py +++ b/api/core/app/apps/message_based_app_generator.py @@ -153,6 +153,8 @@ class MessageBasedAppGenerator(BaseAppGenerator): query = application_generate_entity.query or "New conversation" else: query = next(iter(application_generate_entity.inputs.values()), "New conversation") + if isinstance(query, int): + query = str(query) query = query or "New conversation" conversation_name = (query[:20] + "…") if len(query) > 20 else query From 69d3853111af1a5f593f25e7452401ef048ba09e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9D=9E=E6=B3=95=E6=93=8D=E4=BD=9C?= Date: Thu, 24 Apr 2025 11:55:42 +0800 Subject: [PATCH 2/3] fix some browser autofill password when authorization plugin (#18661) --- .../account-setting/model-provider-page/model-modal/Input.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/web/app/components/header/account-setting/model-provider-page/model-modal/Input.tsx b/web/app/components/header/account-setting/model-provider-page/model-modal/Input.tsx index f339f535d7..a19e330315 100644 --- a/web/app/components/header/account-setting/model-provider-page/model-modal/Input.tsx +++ b/web/app/components/header/account-setting/model-provider-page/model-modal/Input.tsx @@ -39,6 +39,7 @@ const Input: FC = ({ return (
Date: Thu, 24 Apr 2025 11:58:44 +0800 Subject: [PATCH 3/3] fix: sometimes error message not display complete (#18663) --- web/app/components/base/toast/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/components/base/toast/index.tsx b/web/app/components/base/toast/index.tsx index b84a321dd4..725c7af8c2 100644 --- a/web/app/components/base/toast/index.tsx +++ b/web/app/components/base/toast/index.tsx @@ -68,7 +68,7 @@ const Toast = ({
-
{message}
+
{message}
{customComponent}
{children &&