fix: revert messageHasContentFromSDK unknown type handling
Unknown part types should be treated as content (return true) to match parity with the existing message-builder implementation. Using continue would incorrectly mark messages with unknown part types as empty, triggering false recovery.
This commit is contained in:
parent
8d82025b70
commit
885c8586d2
@ -32,7 +32,7 @@ function messageHasContentFromSDK(message: SDKMessage): boolean {
|
||||
|
||||
if (TOOL_TYPES.has(type)) return true
|
||||
|
||||
continue
|
||||
return true
|
||||
}
|
||||
|
||||
return false
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user