fix(model): Remove the validation that tool_call_id must be empty. (#497)
This commit is contained in:
parent
f094abe2fd
commit
541a99cc6d
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue