tweak logic
Some checks failed
format / format (push) Has been cancelled

This commit is contained in:
rekram1-node 2025-09-17 13:58:34 -05:00
parent 2d78bff4a3
commit a1df8545b5

View file

@ -287,7 +287,7 @@ export namespace SessionPrompt {
}
if (
MessageV2.AbortedError.isInstance(m.info.error) &&
m.parts.some((part) => part.type === "text" || part.type === "tool")
m.parts.some((part) => part.type !== "step-start" && part.type !== "reasoning")
) {
return true
}