mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
fix(proxy/utils.py): fix add langfuse trace id to alert
Fixing the import after refactor
This commit is contained in:
parent
5912decd19
commit
941574a921
3 changed files with 46 additions and 35 deletions
|
@ -462,9 +462,11 @@ class ProxyLogging:
|
|||
extra_kwargs = {}
|
||||
alerting_metadata = {}
|
||||
if request_data is not None:
|
||||
|
||||
_url = self.slack_alerting_instance._add_langfuse_trace_id_to_alert(
|
||||
request_data=request_data
|
||||
)
|
||||
|
||||
if _url is not None:
|
||||
extra_kwargs["🪢 Langfuse Trace"] = _url
|
||||
formatted_message += "\n\n🪢 Langfuse Trace: {}".format(_url)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue