mirror of
https://git.mirrors.martin98.com/https://github.com/jina-ai/reader
synced 2025-07-31 00:22:00 +08:00
fix: charge amount
This commit is contained in:
parent
e953c01e58
commit
65ed1157c2
@ -914,6 +914,8 @@ export class CrawlerHost extends RPCHost {
|
|||||||
amount += x1 * 2;
|
amount += x1 * 2;
|
||||||
}
|
}
|
||||||
amount += x1;
|
amount += x1;
|
||||||
|
} else if (formatted.description) {
|
||||||
|
amount += estimateToken(formatted.description);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (formatted.text) {
|
if (formatted.text) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user