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:
YeonGyu-Kim 2026-02-16 00:50:26 +09:00
parent 8d82025b70
commit 885c8586d2

View File

@ -32,7 +32,7 @@ function messageHasContentFromSDK(message: SDKMessage): boolean {
if (TOOL_TYPES.has(type)) return true
continue
return true
}
return false