From 65ed1157c29314ececfb405b2a7fac0199c236da Mon Sep 17 00:00:00 2001 From: "yanlong.wang" Date: Wed, 26 Mar 2025 14:15:55 +0800 Subject: [PATCH] fix: charge amount --- src/api/crawler.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/api/crawler.ts b/src/api/crawler.ts index f95c1ba..d1f103f 100644 --- a/src/api/crawler.ts +++ b/src/api/crawler.ts @@ -914,6 +914,8 @@ export class CrawlerHost extends RPCHost { amount += x1 * 2; } amount += x1; + } else if (formatted.description) { + amount += estimateToken(formatted.description); } if (formatted.text) {