mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-03 07:23:33 +00:00
test(logging): pin the failure-scrub test timestamps
This commit is contained in:
parent
415b4896d9
commit
c7152b99a6
2 changed files with 3 additions and 3 deletions
|
|
@ -311,8 +311,8 @@ def test_mlflow_failure_event_records_the_error_text_the_payload_logged(scrubbed
|
|||
},
|
||||
},
|
||||
response_obj=None,
|
||||
start_time=datetime.now(),
|
||||
end_time=datetime.now(),
|
||||
start_time=datetime(2025, 1, 1),
|
||||
end_time=datetime(2025, 1, 1),
|
||||
)
|
||||
|
||||
event = span.add_event.call_args.args[0]
|
||||
|
|
|
|||
|
|
@ -11675,7 +11675,7 @@ def _prompt_failure_logging_obj(litellm_params: Mapping[str, object] | None = No
|
|||
messages=[{"role": "user", "content": SCRUB_PROMPT}],
|
||||
stream=False,
|
||||
call_type="completion",
|
||||
start_time=time.time(),
|
||||
start_time=datetime.datetime(2025, 1, 1),
|
||||
litellm_call_id="failure-scrub",
|
||||
function_id="failure-scrub",
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue