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]

test(skip-flaky-google-context-caching-test): google is not reliable. their sample code is also not working

Krrish Dholakia24a0d26eb16f
diff --git a/tests/pass_through_tests/test_vertex_ai.py b/tests/pass_through_tests/test_vertex_ai.py
index d0c5088d920..32d6515b893 100644
--- a/tests/pass_through_tests/test_vertex_ai.py
+++ b/tests/pass_through_tests/test_vertex_ai.py
@@ -154,6 +154,9 @@ async def test_basic_vertex_ai_pass_through_streaming_with_spendlog():
pass
+ reason="skip flaky test - google context caching is flaky and not reliable."
+)
@pytest.mark.asyncio
async def test_vertex_ai_pass_through_endpoint_context_caching():
import vertexai
@@ -161,7 +164,7 @@ async def test_vertex_ai_pass_through_endpoint_context_caching():
from vertexai.preview import caching
import datetime
- load_vertex_ai_credentials()
+ # load_vertex_ai_credentials()
vertexai.init(
project="adroit-crow-413218",