forked from phoenix/litellm-mirror
Add missing space in "Failed Tracking Cost" msg
Fixes stuff like this: ``` Message: Failed Tracking Cost forerror in tracking cost callback - Traceback (most recent call last): ^^^^^^^^ ```
This commit is contained in:
parent
dd1048cb35
commit
fe27182e8e
1 changed files with 1 additions and 1 deletions
|
@ -675,7 +675,7 @@ class SlackAlerting(CustomLogger):
|
||||||
async def failed_tracking_alert(self, error_message: str):
|
async def failed_tracking_alert(self, error_message: str):
|
||||||
"""Raise alert when tracking failed for specific model"""
|
"""Raise alert when tracking failed for specific model"""
|
||||||
_cache: DualCache = self.internal_usage_cache
|
_cache: DualCache = self.internal_usage_cache
|
||||||
message = "Failed Tracking Cost for" + error_message
|
message = "Failed Tracking Cost for " + error_message
|
||||||
_cache_key = "budget_alerts:failed_tracking:{}".format(message)
|
_cache_key = "budget_alerts:failed_tracking:{}".format(message)
|
||||||
result = await _cache.async_get_cache(key=_cache_key)
|
result = await _cache.async_get_cache(key=_cache_key)
|
||||||
if result is None:
|
if result is None:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue