dsh-fish-buddy 0.8.3 → 0.8.5
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/lib/host.js +3 -1
- package/package.json +1 -1
package/lib/host.js
CHANGED
|
@@ -679,8 +679,10 @@ export function apply(ctx, inlineConfig) {
|
|
|
679
679
|
// ⚠ 0.3.4:这张图要是已经直接发过去(或已经贴过),就别再出现第二次
|
|
680
680
|
if (已发帧.has(String(x.帧.文件 || ''))) return null
|
|
681
681
|
const 大小 = x.帧.大小 >= 1024 ? Math.round(x.帧.大小 / 1024) + 'KB' : (x.帧.大小 || 0) + 'B'
|
|
682
|
+
// ⭐ 0.8.4:光给路径它不会自己去看 —— 实测「只说路径」时模型一路没打开过那张图,
|
|
683
|
+
// 等于白截。所以这里明说一句「用 read_image 看一眼」。
|
|
682
684
|
return '· ' + 多久前(x.时) + '|〔这一句是画面〕截了一张图(' + (x.帧.尺寸 || '?')
|
|
683
|
-
+ ',' + 大小 + ')——
|
|
685
|
+
+ ',' + 大小 + ')—— 想看到这张画面,用 read_image 打开看一眼:' + x.帧.文件
|
|
684
686
|
}
|
|
685
687
|
return '· ' + 多久前(x.时) + '|' + x.文
|
|
686
688
|
}).filter(Boolean)
|