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

main
junwen-lee 3 months ago committed by GitHub
parent f094abe2fd
commit 541a99cc6d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      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
}

Loading…
Cancel
Save