fix: charge amount

This commit is contained in:
yanlong.wang 2025-03-26 14:15:55 +08:00
parent e953c01e58
commit 65ed1157c2
No known key found for this signature in database
GPG Key ID: C0A623C0BADF9F37

View File

@ -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) {