Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

increasing time for spend tracking

yuneng-jiang65829411e019
diff --git a/tests/spend_tracking_tests/test_spend_accuracy_tests.py b/tests/spend_tracking_tests/test_spend_accuracy_tests.py
index 821709250da..8101269f855 100644
--- a/tests/spend_tracking_tests/test_spend_accuracy_tests.py
+++ b/tests/spend_tracking_tests/test_spend_accuracy_tests.py
@@ -156,8 +156,8 @@ async def test_basic_spend_accuracy():
response = await chat_completion(session, key)
print("response: ", response)
- # wait 15 seconds for spend to be updated
- await asyncio.sleep(15)
+ # wait 25 seconds for spend to be updated
+ await asyncio.sleep(25)
# Get spend information for each entity
key_info = await get_spend_info(session, "key", key)