-
-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Litellm dev 10 29 2024 #6502
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
Merged
Litellm dev 10 29 2024 #6502
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
1fa4206
fix(core_helpers.py): return None, instead of raising kwargs is None …
d866b12
docs(cost_tracking.md): cleanup doc
f147e33
fix(vertex_and_google_ai_studio.py): handle function call with no par…
dd309f8
test(test_router_timeout.py): add test for router timeout + retry logic
ba49202
test: update test to use module level values
149dd18
(fix) Prometheus - Log Postgres DB latency, status on prometheus (#6…
ishaan-jaff 0dc957c
docs clarify vertex vs gemini
ishaan-jaff 37f5feb
(router_strategy/) ensure all async functions use async cache methods…
ishaan-jaff 947af8c
(fix) proxy - fix when `STORE_MODEL_IN_DB` should be set (#6492)
ishaan-jaff 17695e1
(fix) `PrometheusServicesLogger` `_get_metric` should return metric i…
ishaan-jaff fe811a5
bump: version 1.51.0 → 1.51.1
ishaan-jaff 74d7216
Add `azure/gpt-4o-mini-2024-07-18` to model_prices_and_context_window…
xingyaoww 3b385fb
Update utils.py (#6468)
vibhanshu-ob 6b991e7
(perf) Litellm redis router fix - ~100ms improvement (#6483)
9d25552
refactor(prometheus.py): move to using standard logging payload for r…
50ff8c3
fix: fix linting error
c72ea56
fix(redis_cache.py): make sure ttl is always int (handle float values)
3cec40a
fix: fix linting error
498d2d9
test: update test
669cda3
fix: fix linting error
5569838
Merge branch 'main' into litellm_dev_10_29_2024
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
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.
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.
Check failure
Code scanning / CodeQL
Clear-text logging of sensitive information
Copilot Autofix
AI almost 2 years ago
To fix the problem, we should avoid logging the actual value of
additiona_headers[_key]when a conversion error occurs. Instead, we can log a generic message indicating that a conversion error happened without including the sensitive data. This approach maintains the usefulness of the log message for debugging while protecting sensitive information.additiona_headers[_key].