mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-12 08:42:18 +00:00
fix(image_endpoints): add noqa DTZ005 for start_time naive datetime logging
This commit is contained in:
parent
ee71aa92e8
commit
11493298f2
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ async def image_generation(
|
|||
version,
|
||||
)
|
||||
|
||||
start_time: Final = datetime.now()
|
||||
start_time: Final = datetime.now() # noqa: DTZ005 # proxy standard naive datetime for request duration logging
|
||||
litellm_call_id: Final = resolve_litellm_call_id(request.headers.get("x-litellm-call-id"))
|
||||
data = {"litellm_call_id": litellm_call_id}
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue