|
|
@@ -212,8 +212,7 @@ class BaseService
|
|
|
}
|
|
|
}
|
|
|
$texts = [];
|
|
|
- $len = 4096;
|
|
|
- if (!empty($image)) $len = 1024;
|
|
|
+ $len = !empty($image) ? 1024 : 4096;
|
|
|
foreach ($array as $item) {
|
|
|
if (count($texts) > 1) $len = 4096;
|
|
|
if (count($texts) == 0 || strlen($texts[count($texts) - 1] . $item) > $len) {
|