opencode-anthropic-multi-account 0.3.5 → 0.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -2431,7 +2431,7 @@ function compactMessageContent(messages) {
|
|
|
2431
2431
|
return false;
|
|
2432
2432
|
}
|
|
2433
2433
|
if (block.type === "text") {
|
|
2434
|
-
return typeof block.text
|
|
2434
|
+
return typeof block.text === "string" && block.text.trim().length > 0;
|
|
2435
2435
|
}
|
|
2436
2436
|
return true;
|
|
2437
2437
|
});
|