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_embedding
Ishaan Jaffer0ec7dace7963
diff --git a/tests/proxy_unit_tests/test_proxy_custom_logger.py b/tests/proxy_unit_tests/test_proxy_custom_logger.pyindex 0fbe5a31c33..28de522a4c7 100644--- a/tests/proxy_unit_tests/test_proxy_custom_logger.py+++ b/tests/proxy_unit_tests/test_proxy_custom_logger.py@@ -80,7 +80,7 @@ def test_embedding(client):my_custom_logger.async_success_embedding is True) # checks if the status of async_success is True, only the async_log_success_event can set this to trueassert (- my_custom_logger.async_embedding_kwargs["model"] == "azure-embedding-model"+ my_custom_logger.async_embedding_kwargs["model"] == "text-embedding-ada-002") # checks if kwargs passed to async_log_success_event are correctkwargs = my_custom_logger.async_embedding_kwargslitellm_params = kwargs.get("litellm_params")