We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a422ca commit c54c41fCopy full SHA for c54c41f
litellm/integrations/braintrust_logging.py
@@ -1,18 +1,15 @@
1
# What is this?
2
## Log success + failure events to Braintrust
3
4
-import copy
5
import os
6
from datetime import datetime
7
from typing import Dict, Optional
8
9
import httpx
10
-from pydantic import BaseModel
11
12
import litellm
13
from litellm import verbose_logger
14
from litellm.integrations.custom_logger import CustomLogger
15
-from litellm.litellm_core_utils.safe_json_dumps import filter_json_serializable
16
from litellm.llms.custom_httpx.http_handler import (
17
HTTPHandler,
18
get_async_httpx_client,
@@ -25,7 +22,6 @@
25
22
26
23
def get_utc_datetime():
27
24
import datetime as dt
28
- from datetime import datetime
29
30
if hasattr(dt, "UTC"):
31
return datetime.now(dt.UTC) # type: ignore
0 commit comments