From 541a99cc6dd297fe444731a9d27ff8c167f40980 Mon Sep 17 00:00:00 2001 From: junwen-lee Date: Sun, 3 Aug 2025 12:30:11 +0800 Subject: [PATCH] fix(model): Remove the validation that tool_call_id must be empty. (#497) --- .../singleagent/internal/agentflow/callback_reply_chunk.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/domain/agent/singleagent/internal/agentflow/callback_reply_chunk.go b/backend/domain/agent/singleagent/internal/agentflow/callback_reply_chunk.go index fd2a62a3..49c7ca86 100644 --- a/backend/domain/agent/singleagent/internal/agentflow/callback_reply_chunk.go +++ b/backend/domain/agent/singleagent/internal/agentflow/callback_reply_chunk.go @@ -286,7 +286,7 @@ func concatToolsNodeOutput(ctx context.Context, output *schema.StreamReader[call msgs := convToolsNodeCallbackOutput(cbOut) for _, msg := range msgs { - if msg == nil || msg.ToolCallID == "" { + if msg == nil { continue }