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]

Fixed tests

yuneng-jiangedf51a431a0b
diff --git a/tests/test_litellm/proxy/test_proxy_server.py b/tests/test_litellm/proxy/test_proxy_server.py
index 6be6f1e3d01..706a96624d5 100644
--- a/tests/test_litellm/proxy/test_proxy_server.py
+++ b/tests/test_litellm/proxy/test_proxy_server.py
@@ -258,7 +258,7 @@ def test_get_config_custom_callback_api_env_vars(monkeypatch):
"general_settings": {},
"environment_variables": {
"GENERIC_LOGGER_ENDPOINT": "https://callback.example.com",
- "GENERIC_LOGGER_HEADER": "Auth: token",
+ "GENERIC_LOGGER_HEADERS": "Auth: token",
},
}
@@ -289,7 +289,7 @@ def test_get_config_custom_callback_api_env_vars(monkeypatch):
assert custom_cb is not None
assert custom_cb["variables"] == {
"GENERIC_LOGGER_ENDPOINT": "https://callback.example.com",
- "GENERIC_LOGGER_HEADER": "Auth: token",
+ "GENERIC_LOGGER_HEADERS": "Auth: token",
}