fix(core): preserve the first terminal failure (#37705)
This commit is contained in:
parent
a288cb5a0c
commit
ba0bbdafaa
11 changed files with 35 additions and 39 deletions
|
|
@ -642,8 +642,6 @@ function streamPartEvents(
|
|||
id: event.toolCallId,
|
||||
name: event.toolName,
|
||||
raw: event.input,
|
||||
message: error.reason.message,
|
||||
providerMetadata: providerMetadata(event.providerMetadata),
|
||||
}),
|
||||
]),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue