fix(model): Remove the validation that tool_call_id must be empty. (#497)

This commit is contained in:
junwen-lee
2025-08-03 12:30:11 +08:00
committed by GitHub
parent f094abe2fd
commit 541a99cc6d

View File

@@ -286,7 +286,7 @@ func concatToolsNodeOutput(ctx context.Context, output *schema.StreamReader[call
msgs := convToolsNodeCallbackOutput(cbOut) msgs := convToolsNodeCallbackOutput(cbOut)
for _, msg := range msgs { for _, msg := range msgs {
if msg == nil || msg.ToolCallID == "" { if msg == nil {
continue continue
} }