-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Litellm oss staging 03 21 2026 #24351
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
Open
RheagalFire
wants to merge
37
commits into
main
Choose a base branch
from
litellm_oss_staging_03_21_2026
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
cc3e5ba
Fix cache_control hook to support role+index filtering and negative i…
muneerusman25 cd710fe
fix(factory): handle list content in map_system_message_pt
voidborne-d 5892143
fix(proxy): instantiate OTEL callback at startup instead of deferring…
Harshit28j e465014
fix: add role key to satisfy AllMessageValues type contract
voidborne-d 1970157
fix: handle None content in _get_content_as_str
voidborne-d 6eaa48a
fix: req changes from greptile
Harshit28j 6ef2086
[Fix]: streaming_handler.py:197 - Error in _route_streaming_logging_t…
FBIKKIBF 1f573d0
fix: copy dict before mutation + use filter(None, ...) to avoid trail…
voidborne-d f4904e5
fix: greptile feedback
Harshit28j 5c93fc2
fix: address review comments + black formatting
voidborne-d 52cdf94
fix: req changes on test case
Harshit28j 2f3b395
Update litellm/llms/anthropic/chat/handler.py for exception logging
FBIKKIBF eabac04
Fix logging import and format
FBIKKIBF 4c65ed9
Add customizable CORS settings
emerzon e779a85
Apply suggestions from code review
emerzon 881da92
Address greptile CORS review feedback
emerzon b22dc5c
Address additional CORS review feedback
emerzon ea5502b
Address latest CORS review feedback
emerzon 13f08c9
Address CORS env precedence and wildcard feedback
emerzon a62cc78
Address final CORS review feedback
emerzon 803ae26
Address empty CORS methods and headers feedback
emerzon aab385a
Address CORS credentials validation feedback
emerzon abdc20c
Merge branch 'main' into cors_settings
emerzon db4cb3c
Fix CORS config startup ordering
emerzon 48d42b4
Fix CORS include loading edge cases
emerzon 6393b36
Resolve list-based CORS env refs
emerzon 5952f02
Tighten CORS test cleanup and docs
emerzon 11aa499
Merge pull request #24288 from FBIKKIBF/main
krrishdholakia d559073
Merge pull request #18265 from emerzon/cors_settings
krrishdholakia cdb06fd
Merge pull request #20955 from muneerusman25/fix_cache_control_problem
krrishdholakia 680b1bb
Merge pull request #23802 from Harshit28j/litellm_otel_callback
krrishdholakia 4c12967
Adding pricing and model data for Bedrock Z.AI GLM 5 model. (#24240)
cmbaatz 13b893d
fix(otel): use completion_tokens_details for Chat Completions API rea…
AtharvaJaiswal005 abc6536
fix(key_rotation): add distributed lock to prevent concurrent rotatio…
michelligabriele 486a752
docs(minimax): update model descriptions and add new M2.5 models (#23…
bugparty 053e923
fix(ui): guard PriceDataManagementTab TabPanel with admin role check …
xykong c49ef4d
Merge pull request #23782 from voidborne-d/fix/map-system-message-lis…
krrishdholakia 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
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
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.
orshort-circuits on falsy objects, may skip validcompletion_tokens_detailsIf
completion_tokens_detailsis present but evaluates as falsy (e.g. aCompletionTokensDetailsWrapper()instance with all-zero fields where__bool__returnsFalse, or an empty dict{}), Python'sorwill silently fall through tooutput_tokens_details. This is unlikely in practice today, but a safer pattern would be an explicitNonecheck:The same applies to
prompt_tokens_details/input_tokens_detailsa few lines below.