mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
Add datadog health check support + fix bedrock converse cost tracking w/ region name specified (#7958)
* fix(bedrock/converse_handler.py): fix bedrock region name on async calls * fix(utils.py): fix split model handling Fixes bedrock cost calculation when region name is given * feat(_health_endpoints.py): support health checking datadog integration Closes https://github.com/BerriAI/litellm/issues/7921
This commit is contained in:
parent
a835baacfc
commit
c6e9240405
13 changed files with 254 additions and 33 deletions
|
@ -386,6 +386,7 @@ def _select_model_name_for_cost_calc(
|
|||
3. If completion response has model set return that
|
||||
4. Check if model is passed in return that
|
||||
"""
|
||||
|
||||
return_model: Optional[str] = None
|
||||
region_name: Optional[str] = None
|
||||
custom_llm_provider = _get_provider_for_cost_calc(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue