Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dist/count-tokens.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ export declare const RETRYABLE_COUNT_OUTCOMES: ReadonlySet<CountTokensOutcome>;
/**
* Exact results belong to this request and body, never a shared sample slot.
* All counts of one request share one allowance: the largest body's
* (countDeadlineMs), spent only while a count is in flight, so time between
* counts (a compression before the replacement is counted) is not charged.
* (countDeadlineMs). Transient retries share a five-second window, including
* attempts and backoff. Time spent compressing between counts is not charged.
*/
export declare function createCountTokensSession(options: CountTokensSessionOptions, cooldowns?: CountTokensCooldowns): CountTokensSession;
/** All failures resolve without tokens, including synchronous request errors. */
Expand Down
2 changes: 1 addition & 1 deletion dist/count-tokens.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

52 changes: 43 additions & 9 deletions dist/count-tokens.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading