From 0d70f1be5d7124f489d6259fd11c7c9c08c13978 Mon Sep 17 00:00:00 2001 From: Megumin Date: Wed, 19 Mar 2025 17:19:18 +0800 Subject: [PATCH] feat: remove final length (#50) --- flow/agent/multiagent/plan_execute/compose.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/flow/agent/multiagent/plan_execute/compose.go b/flow/agent/multiagent/plan_execute/compose.go index 7993864..30d36dd 100644 --- a/flow/agent/multiagent/plan_execute/compose.go +++ b/flow/agent/multiagent/plan_execute/compose.go @@ -155,10 +155,6 @@ func NewMultiAgent(ctx context.Context, config *Config) (*PlanExecuteMultiAgent, if strings.Contains(content, "最终答案") { return compose.END, nil } - - if len(content) > 20 { - return nodeKeyReviserToList, nil - } } }