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]

proxy - print embedding request when recieved

Ishaan Jaffe9537c656088
diff --git a/litellm/proxy/proxy_server.py b/litellm/proxy/proxy_server.py
index 12069d5e855..cfc5fbf7fba 100644
--- a/litellm/proxy/proxy_server.py
+++ b/litellm/proxy/proxy_server.py
@@ -3481,6 +3481,11 @@ async def embeddings(
body = await request.body()
data = orjson.loads(body)
+ verbose_proxy_logger.debug(
+ "Request received by LiteLLM:\n%s",
+ json.dumps(data, indent=4),
+ )
+
# Include original request and headers in the data
data = await add_litellm_data_to_request(
data=data,