mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-30 01:08:33 +00:00
* perf(token_counter): memoize token counts of long texts per tokenizer * test(prompt_caching): count a prompt no other test has counted in the loop lag checks * fix(token_counter): key the count memo on the string hash instead of blake2b * test(router): embed distinct texts so the batches are counted in full * test: time token counts over text no earlier count has memoized |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_continuation_prefill_check.py | ||
| test_deployment_affinity_check.py | ||
| test_encrypted_content_affinity_check.py | ||
| test_prompt_caching_deployment_check.py | ||
| test_responses_api_deployment_check.py | ||
| test_session_id_affinity.py | ||