do not mark errored tool calls as aborted
This commit is contained in:
parent
b6ee8e92f9
commit
3aa6eeb426
1 changed files with 1 additions and 1 deletions
|
|
@ -1115,7 +1115,7 @@ export namespace Session {
|
||||||
}
|
}
|
||||||
const p = await getParts(assistantMsg.sessionID, assistantMsg.id)
|
const p = await getParts(assistantMsg.sessionID, assistantMsg.id)
|
||||||
for (const part of p) {
|
for (const part of p) {
|
||||||
if (part.type === "tool" && part.state.status !== "completed") {
|
if (part.type === "tool" && part.state.status !== "completed" && part.state.status !== "error") {
|
||||||
updatePart({
|
updatePart({
|
||||||
...part,
|
...part,
|
||||||
state: {
|
state: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue