Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
3feb5f2
fix(token_counter): bound the cost of pricing a base64 PDF
RachelHuangZW Oct 9, 2026
c1c3d5e
test(token_counter): count pdf text extraction directly with injected…
RachelHuangZW Oct 9, 2026
89793b5
fix(token_counter): price oversized PDF pages by their string operand…
mateo-berri Oct 20, 2026
0aeb504
fix(token_counter): count Form XObject content toward the PDF page ex…
mateo-berri Oct 20, 2026
add181e
fix(token_counter): follow only drawn Form XObjects and scan PDF stri…
mateo-berri Oct 20, 2026
d7dff37
fix(token_counter): count repeated form draws and tokenize sampled PD…
mateo-berri Oct 20, 2026
628754b
fix(token_counter): memoize cyclic PDF form walks and skip strings wh…
mateo-berri Oct 20, 2026
9356f17
Merge remote-tracking branch 'origin/main' into litellm_token_counter…
mateo-berri Oct 20, 2026
48cc412
fix(token_counter): skip PDF comments and inline images and decode sa…
mateo-berri Oct 20, 2026
09762cf
test(token_counter): mark parser benchmarks as performance-only
mateo-berri Oct 20, 2026
8ad6b5a
fix(token_counter): skip strings and comments when stripping PDF inli…
mateo-berri Oct 20, 2026
7f17f61
fix(token_counter): only strip terminated PDF inline images
mateo-berri Oct 20, 2026
f76f3fb
fix(token_counter): keep PDF inline image scan linear without EI
mateo-berri Oct 20, 2026
04aae52
fix(token_counter): price oversized PDF pages through pypdf text extr…
mateo-berri Oct 20, 2026
da728dd
fix(token_counter): memoize textless PDF forms and close truncated te…
mateo-berri Oct 20, 2026
156eb95
perf(token_counter): cap PDF text-object scan at the sample size
mateo-berri Oct 21, 2026
5b78b96
test(token_counter): drop unrelated formatting churn
mateo-berri Oct 21, 2026
63580d2
Merge remote-tracking branch 'origin/main' into litellm_token_counter…
mateo-berri Oct 21, 2026
9ed0bca
fix(token_counter): satisfy PDF CI gates
mateo-berri Oct 21, 2026
9a2d6d9
fix(token_counter): track real ET closure for PDF text samples
mateo-berri Oct 21, 2026
5f72afb
fix(token_counter): treat NUL as PDF whitespace
mateo-berri Oct 21, 2026
8a527fc
test(token_counter): cover octal PDF sample scaling
mateo-berri Oct 21, 2026
658ca5c
fix(token_counter): repair dangling escapes and keep sampling past un…
mateo-berri Oct 21, 2026
718903e
fix(token_counter): align page handling
mateo-berri Nov 8, 2026
c44fec7
chore: sync main
mateo-berri Nov 8, 2026
51dcbd8
fix(token_counter): align form resource handling
mateo-berri Nov 8, 2026
45f04df
fix(token_counter): align shared stream handling
mateo-berri Nov 8, 2026
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
Loading
Loading