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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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
} }