mirror of
https://github.com/7836246/cursor2api.git
synced 2026-04-26 03:25:53 +03:00
[GH-ISSUE #19] token计算的能够复核一下 #17
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cursor2api#17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Theo-jobs on GitHub (Mar 11, 2026).
Original GitHub issue: https://github.com/7836246/cursor2api/issues/19
@7836246 commented on GitHub (Mar 12, 2026):
V2.5.6 📊 Token 估算优化
estimateInputTokens()为独立函数,Anthropic 和 OpenAI handler 共用input_tokens: 100的硬编码占位符