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 gcs logging payload
Ishaan Jaffde9bd4abe687
diff --git a/litellm/tests/test_gcs_bucket.py b/litellm/tests/test_gcs_bucket.pyindex b30978bad5d..4fa9d8ef437 100644--- a/litellm/tests/test_gcs_bucket.py+++ b/litellm/tests/test_gcs_bucket.py@@ -117,17 +117,8 @@ async def test_basic_gcs_logger():await asyncio.sleep(5)- # Get the current date- # Get the current date- current_date = datetime.now().strftime("%Y-%m-%d")-- # Modify the object_name to include the date-based folder- object_name = f"{current_date}%2F{response.id}"-- print("object_name", object_name)-# Check if object landed on GCS- object_from_gcs = await gcs_logger.download_gcs_object(object_name=object_name)+ object_from_gcs = await gcs_logger.download_gcs_object(object_name=response.id)print("object from gcs=", object_from_gcs)# convert object_from_gcs from bytes to DICTparsed_data = json.loads(object_from_gcs)