@@ -717,6 +717,24 @@ export function AgentDialog({
717717 />
718718 </ div >
719719
720+ { /* Description (Agent only) */ }
721+ { isInternalAgent && (
722+ < div className = "space-y-2" >
723+ < Label htmlFor = "agentDescription" > Description</ Label >
724+ < p className = "text-sm text-muted-foreground" >
725+ A brief summary of what this agent does. Helps other agents
726+ quickly understand if this agent is relevant for their task.
727+ </ p >
728+ < Textarea
729+ id = "agentDescription"
730+ value = { description }
731+ onChange = { ( e ) => setDescription ( e . target . value ) }
732+ placeholder = "Describe what this agent does"
733+ className = "min-h-[60px]"
734+ />
735+ </ div >
736+ ) }
737+
720738 { /* Tools (MCP Gateway and Agent only) */ }
721739 { showToolsAndSubagents && (
722740 < div className = "space-y-2" >
@@ -841,24 +859,6 @@ export function AgentDialog({
841859 </ div >
842860 ) }
843861
844- { /* Description (Agent only) */ }
845- { isInternalAgent && (
846- < div className = "space-y-2" >
847- < Label htmlFor = "agentDescription" > Description</ Label >
848- < p className = "text-sm text-muted-foreground" >
849- A brief summary of what this agent does. Helps other agents
850- quickly understand if this agent is relevant for their task.
851- </ p >
852- < Textarea
853- id = "agentDescription"
854- value = { description }
855- onChange = { ( e ) => setDescription ( e . target . value ) }
856- placeholder = "Describe what this agent does"
857- className = "min-h-[60px]"
858- />
859- </ div >
860- ) }
861-
862862 { /* Agent Trigger Rules (Agent only) */ }
863863 { isInternalAgent && (
864864 < div className = "space-y-2" >
0 commit comments