mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-10 08:28:25 +00:00
test(proxy): leave the spend-log byte counter to the real writer
This commit is contained in:
parent
5fa85cc858
commit
690a5ec848
1 changed files with 0 additions and 1 deletions
|
|
@ -4078,7 +4078,6 @@ async def test_async_post_call_failure_hook_scrubs_the_prompt_out_of_the_persist
|
|||
monkeypatch.setattr(litellm, "turn_off_message_logging", redact)
|
||||
spend_logs: Final = _SpendLogQueue()
|
||||
monkeypatch.setattr("litellm.proxy.proxy_server.prisma_client", spend_logs)
|
||||
monkeypatch.setattr(PrismaClient, "spend_log_queue_bytes", 0)
|
||||
|
||||
await ProxyDBLogger(spend_writer=DBSpendUpdateWriter).async_post_call_failure_hook(
|
||||
request_data={"model": "gpt-4o", "messages": [{"role": "user", "content": secret}], "metadata": {}},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue