diff --git a/web/src/global.less b/web/src/global.less
index 4787072542..9ad41dfcbb 100644
--- a/web/src/global.less
+++ b/web/src/global.less
@@ -50,5 +50,9 @@ body,
}
.Highlight--scrolledTo .Highlight__part {
- background: #ffe28f !important;
+ background: rgb(var(--accent-primary) / 0.5) !important;
+}
+
+.Highlight__part {
+ background: rgb(var(--accent-primary) / 0.1) !important;
}
diff --git a/web/src/pages/agent/form/agent-form/index.tsx b/web/src/pages/agent/form/agent-form/index.tsx
index 1f2ec9eab4..faa4c6454b 100644
--- a/web/src/pages/agent/form/agent-form/index.tsx
+++ b/web/src/pages/agent/form/agent-form/index.tsx
@@ -32,7 +32,6 @@ import {
NodeHandleId,
VariableType,
} from '../../constant';
-import { useSaveOnBlur } from '../../hooks/use-save-on-blur';
import { INextOperatorForm } from '../../interface';
import useGraphStore from '../../store';
import { hasSubAgentOrTool, isBottomSubAgent } from '../../utils';
@@ -94,8 +93,6 @@ function AgentForm({ node }: INextOperatorForm) {
const { extraOptions } = useBuildPromptExtraPromptOptions(edges, node?.id);
- const { handleSaveOnBlur } = useSaveOnBlur();
-
const ExceptionMethodOptions = Object.values(AgentExceptionMethod).map(
(x) => ({
label: t(`flow.${x}`),
@@ -180,7 +177,6 @@ function AgentForm({ node }: INextOperatorForm) {
placeholder={t('flow.messagePlaceholder')}
showToolbar={true}
extraOptions={extraOptions}
- onBlur={handleSaveOnBlur}
>
@@ -198,7 +194,6 @@ function AgentForm({ node }: INextOperatorForm) {
diff --git a/web/src/pages/agent/form/code-form/next-variable.tsx b/web/src/pages/agent/form/code-form/next-variable.tsx
index ad3b3fea72..b6174a1055 100644
--- a/web/src/pages/agent/form/code-form/next-variable.tsx
+++ b/web/src/pages/agent/form/code-form/next-variable.tsx
@@ -93,13 +93,20 @@ export function DynamicVariableForm({ name = 'arguments', isOutputs }: IProps) {
)}
/>
-