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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
test_chat_completion_bad_model_with_spend_logs
Ishaan Jaffd05092bb3dbd
diff --git a/tests/store_model_in_db_tests/test_openai_error_handling.py b/tests/store_model_in_db_tests/test_openai_error_handling.pyindex 808a3618b1b..554ddf49cce 100644--- a/tests/store_model_in_db_tests/test_openai_error_handling.py+++ b/tests/store_model_in_db_tests/test_openai_error_handling.py@@ -205,7 +205,4 @@ async def test_chat_completion_bad_model_with_spend_logs():# Verify request detailsassert log_entry["cache_hit"] == "False"- assert log_entry["messages"]["model"] == "non-existent-model"- assert log_entry["messages"]["messages"][0]["role"] == "user"- assert log_entry["messages"]["messages"][0]["content"] == "Hello!"assert log_entry["response"] == {}