From 6795d6b6a77e778891d2a6f457dbf1557d33b953 Mon Sep 17 00:00:00 2001 From: huangshuai <56384180+Mermaid97@users.noreply.github.com> Date: Fri, 15 Aug 2025 14:13:35 +0800 Subject: [PATCH] Update AgentConfigurationSection.tsx --- .../components/AgentConfigurationSection.tsx | 41 ++++++++++--------- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/frontend/app/[locale]/setup/agentSetup/components/AgentConfigurationSection.tsx b/frontend/app/[locale]/setup/agentSetup/components/AgentConfigurationSection.tsx index fefe1657..ef7748a7 100644 --- a/frontend/app/[locale]/setup/agentSetup/components/AgentConfigurationSection.tsx +++ b/frontend/app/[locale]/setup/agentSetup/components/AgentConfigurationSection.tsx @@ -20,8 +20,6 @@ export interface AgentConfigurationSectionProps { agentDescription?: string; onAgentNameChange?: (name: string) => void; onAgentDescriptionChange?: (description: string) => void; - agentDisplayName?: string; - onAgentDisplayNameChange?: (displayName: string) => void; isEditingMode?: boolean; mainAgentModel?: string; mainAgentMaxStep?: number; @@ -55,8 +53,6 @@ export default function AgentConfigurationSection({ agentDescription = '', onAgentNameChange, onAgentDescriptionChange, - agentDisplayName = '', - onAgentDisplayNameChange, isEditingMode = false, mainAgentModel = '', mainAgentMaxStep = 5, @@ -188,21 +184,6 @@ export default function AgentConfigurationSection({ // Render individual content sections const renderAgentInfo = () => (
- {/* Agent Display Name */} -
- - onAgentDisplayNameChange?.(e.target.value)} - placeholder={t('agent.displayNamePlaceholder')} - className="w-full px-3 py-2 border border-gray-300 rounded-md text-sm focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500 box-border" - disabled={!isEditingMode} - /> -
- {/* Agent Name */}