proxy - print embedding request when recieved

This commit is contained in:
Ishaan Jaff 2024-08-21 17:00:18 -07:00
parent cbe0b471fc
commit 152ebe2e7f

View file

@ -3481,6 +3481,11 @@ async def embeddings(
body = await request.body() body = await request.body()
data = orjson.loads(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 # Include original request and headers in the data
data = await add_litellm_data_to_request( data = await add_litellm_data_to_request(
data=data, data=data,