mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-23 05:34:41 +00:00
test(router): use deterministic retry timestamp
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
a78fd88d87
commit
3da3e194d6
1 changed files with 1 additions and 1 deletions
|
|
@ -198,7 +198,7 @@ async def test_run_async_fallback_opens_the_hop_without_the_superseded_attempts_
|
|||
)
|
||||
logging_obj.model_call_details["custom_llm_provider"] = "openai"
|
||||
logging_obj.model_call_details["litellm_params"] = {"acompletion": True}
|
||||
logging_obj.model_call_details["current_attempt_api_call_start_time"] = datetime.now()
|
||||
logging_obj.model_call_details["current_attempt_api_call_start_time"] = datetime(2026, 1, 1)
|
||||
logging_obj.litellm_params = logging_obj.model_call_details["litellm_params"]
|
||||
partial_usage: Final = Usage(prompt_tokens=52, completion_tokens=1, total_tokens=53)
|
||||
logging_obj.record_partial_usage_for_failure(partial_usage, 0.01)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue