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
update example
Otavio Brito2e7d9d18227d
diff --git a/docs/my-website/docs/providers/vertex.md b/docs/my-website/docs/providers/vertex.mdindex b5e30bf4d16..88f1cd6643f 100644--- a/docs/my-website/docs/providers/vertex.md+++ b/docs/my-website/docs/providers/vertex.md@@ -874,13 +874,17 @@ Vertex AI will return a response containing the `name` of the cached content. Th#### 3. Use the Cached Content-Use the `name` from the response as `cached_content` in subsequent API calls to reuse the cached information. This is passed in the body of your request to `/chat/completions`.+Use the `name` from the response as `cachedContent` or `cached_content` in subsequent API calls to reuse the cached information. This is passed in the body of your request to `/chat/completions`.<Tabs><TabItem value="proxy" label="PROXY">-```json-{+```bash++curl http://0.0.0.0:4000/chat/completions \+ -H "Content-Type: application/json" \+ -H "Authorization: Bearer $LITELLM_KEY" \+ -d '{"cachedContent": "projects/545201925769/locations/us-central1/cachedContents/4511135542628319232","model": "gemini-2.5-flash","messages": [@@ -889,8 +893,9 @@ Use the `name` from the response as `cached_content` in subsequent API calls to"content": "what is the book about?"}]-}+ }'```+</TabItem>