mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
codecov
This commit is contained in:
parent
8d5c43b766
commit
066d8045f1
1 changed files with 2 additions and 3 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import json
|
||||
from datetime import datetime
|
||||
from typing import Any, Optional, cast
|
||||
|
||||
|
|
@ -271,12 +272,10 @@ class BedrockBatchesHandler:
|
|||
# (submitTime, endTime, …) and in ResponseMetadata. The
|
||||
# logging post_call path calls json.dumps() on dict responses,
|
||||
# which chokes on datetime — so we serialize with default=str.
|
||||
import json as _json
|
||||
|
||||
logging_obj.post_call(
|
||||
input=batch_id,
|
||||
api_key="",
|
||||
original_response=_json.dumps(response, default=str),
|
||||
original_response=json.dumps(response, default=str),
|
||||
additional_args={"complete_input_dict": {"jobIdentifier": batch_id}},
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue