Spaces:
Build error
Build error
fix: charge amount
Browse files- src/api/crawler.ts +2 -0
src/api/crawler.ts
CHANGED
|
@@ -914,6 +914,8 @@ export class CrawlerHost extends RPCHost {
|
|
| 914 |
amount += x1 * 2;
|
| 915 |
}
|
| 916 |
amount += x1;
|
|
|
|
|
|
|
| 917 |
}
|
| 918 |
|
| 919 |
if (formatted.text) {
|
|
|
|
| 914 |
amount += x1 * 2;
|
| 915 |
}
|
| 916 |
amount += x1;
|
| 917 |
+
} else if (formatted.description) {
|
| 918 |
+
amount += estimateToken(formatted.description);
|
| 919 |
}
|
| 920 |
|
| 921 |
if (formatted.text) {
|