Repository navigation
Litellm token verification query optimization #26202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
harish-berri
merged 34 commits into
litellm_internal_staging
from
litellm_token_verification_query_opt
May 1, 2026
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
3088546
Add debugger settings to debug single worker proxy_server per request.
harish-berri d58f657
Replace assertions with simple if conditions. assertions raise an exc…
harish-berri 984287d
Implement CacheCodec for DualCache serialization and deserialization.…
harish-berri 9cfc5fc
update tests
harish-berri 595f42d
Refactor caching logic in auth_checks and user_api_key_auth to utiliz…
harish-berri d4a26ff
Enhance caching mechanism by integrating CacheCodec for serialization…
harish-berri 655e752
Enhance team endpoint tests by integrating AsyncMock for cache method…
harish-berri d9292e7
Update test for CacheCodec serialization to clarify validation error …
harish-berri 1af843f
Merge branch 'litellm_internal_staging' of https://github.com/BerriAI…
harish-berri a9761e1
Merge remote-tracking branch 'origin/litellm_internal_staging' into l…
harish-berri ce087aa
refactor(proxy): update documentation and code references for enable_…
harish-berri 7784775
feat(auth): add Prometheus metrics for combined_view SQL queries
harish-berri b3c6566
Merge origin/litellm_internal_staging into litellm_token_verification…
harish-berri f08a853
fix failing test
harish-berri 3c2c61e
refactor(proxy): replace DualCache with UserApiKeyCache for user API …
harish-berri 354ad40
fix DualCache import error in CI and update docstrings for cache coor…
harish-berri 84b6bd6
update test cases to match new behaviour. The earlier test cases assu…
harish-berri 1899632
update test cases to fix handle_jwt test cases
harish-berri 13ffb9a
update auth metric increment comment from greptile
harish-berri 9039643
lint styling update
harish-berri 33d9190
correct team_id key bug
harish-berri 1d62ca0
Merge branch 'litellm_internal_staging' into litellm_token_verificati…
harish-berri b6e13cb
fix linting
harish-berri bff26f6
fix unused imports
harish-berri 8df24b5
Merge branch 'litellm_internal_staging' into litellm_token_verificati…
harish-berri 54f762e
remove unrelated debugger tooling
harish-berri 4dc950a
fix linting
harish-berri 1f72ae5
fix: add type hint ignore for user_api_key_cache and update docstring…
harish-berri 76fb9d3
refactor: remove AuthMetrics and related combined_view query metrics
harish-berri 3bff192
fix linting
harish-berri 6fb1de9
refactor: replace DualCache with UserApiKeyCache in multiple modules
harish-berri 7c8fe86
Merge branch 'litellm_internal_staging' into litellm_token_verificati…
harish-berri 8671ec6
fix import error
harish-berri 896e102
fix linting
harish-berri File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ran into a few instances where writing None keys to redis showed up as exceptions. I think this is a valid assumption and would not break anything