From 3d2c5c90e9f70ada2cf67701ddd6e1af78c881cf Mon Sep 17 00:00:00 2001 From: toi500 <138339291+toi500@users.noreply.github.com> Date: Wed, 11 Jun 2025 15:07:02 +0200 Subject: [PATCH] Fix: Correct formatting of Condition Agent prompt (#4626) --- packages/components/nodes/agentflow/prompt.ts | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/packages/components/nodes/agentflow/prompt.ts b/packages/components/nodes/agentflow/prompt.ts index bb68b79c2..ee941ae22 100644 --- a/packages/components/nodes/agentflow/prompt.ts +++ b/packages/components/nodes/agentflow/prompt.ts @@ -39,15 +39,12 @@ export const DEFAULT_HUMAN_INPUT_DESCRIPTION_HTML = `
Summarize the conversati ` -export const CONDITION_AGENT_SYSTEM_PROMPT = ` -
You are part of a multi-agent system designed to make agent coordination and execution easy. Your task is to analyze the given input and select one matching scenario from a provided set of scenarios.
- +export const CONDITION_AGENT_SYSTEM_PROMPT = `You are part of a multi-agent system designed to make agent coordination and execution easy. Your task is to analyze the given input and select one matching scenario from a provided set of scenarios.
Output should be a JSON object that names the selected scenario, like this: {"output": ". No explanation is needed.
Output: {"output": "user is interested in AI topics"}