From d5498858ecfa5e957201c73b7d1c8d7266e09553 Mon Sep 17 00:00:00 2001 From: Jean Ibarz Date: Tue, 17 Dec 2024 20:39:49 +0100 Subject: [PATCH] Chore/Enhancement: Improve 'Require Approval' Description to Indicate MemoryAgent Dependency (#3680) * Update 'Require Approval' button description to clarify dependency on MemoryAgent * Refine RequiredApproval message description * Fix message description by removing unscaped character ('\') * Break line * docs: clarify and enhance the "Require Approval" description for Agent node * chore: slight update of the description --- packages/components/nodes/sequentialagents/Agent/Agent.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/components/nodes/sequentialagents/Agent/Agent.ts b/packages/components/nodes/sequentialagents/Agent/Agent.ts index c4b2bee1..16b82921 100644 --- a/packages/components/nodes/sequentialagents/Agent/Agent.ts +++ b/packages/components/nodes/sequentialagents/Agent/Agent.ts @@ -298,7 +298,12 @@ class Agent_SeqAgents implements INode { { label: 'Require Approval', name: 'interrupt', - description: 'Require approval before executing tools. Will proceed when tools are not called', + description: + 'Pause execution and request user approval before running tools.\n' + + 'If enabled, the agent will prompt the user with customizable approve/reject options\n' + + 'and will proceed only after approval. This requires a configured agent memory to manage\n' + + 'the state and handle approval requests.\n' + + 'If no tools are invoked, the agent proceeds without interruption.', type: 'boolean', optional: true },