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
Documentation Code Example corrections (#16502)
Anthony Monacoa1748ad55036
diff --git a/docs/my-website/docs/proxy/guardrails/quick_start.md b/docs/my-website/docs/proxy/guardrails/quick_start.mdindex 86911c53a86..c392ee60a60 100644--- a/docs/my-website/docs/proxy/guardrails/quick_start.md+++ b/docs/my-website/docs/proxy/guardrails/quick_start.md@@ -541,7 +541,7 @@ guardrails:curl -X POST 'http://0.0.0.0:4000/team/update' \-H 'Authorization: Bearer sk-1234' \-H 'Content-Type: application/json' \--D '{+-d '{"team_id": "4198d93c-d375-4c83-8d5a-71e7c5473e50","metadata": {"guardrails": {"modify_guardrails": false}}}'diff --git a/docs/my-website/docs/proxy/users.md b/docs/my-website/docs/proxy/users.mdindex 721207e3c83..3e0e00dfa52 100644--- a/docs/my-website/docs/proxy/users.md+++ b/docs/my-website/docs/proxy/users.md@@ -127,7 +127,7 @@ curl 'http://0.0.0.0:4000/team/new' \--data-raw '{"team_alias": "my-new-team_4","members_with_roles": [{"role": "admin", "user_id": "5c4a0aa3-a1e1-43dc-bd87-3c2da8382a3a"}],- "budget_duration": 10s,+ "budget_duration": "30s",}'```@@ -253,7 +253,7 @@ curl 'http://0.0.0.0:4000/user/new' \--data-raw '{"team_id": "core-infra", # [OPTIONAL]"max_budget": 10,- "budget_duration": 10s,+ "budget_duration": "30s",}'```@@ -334,7 +334,7 @@ curl 'http://0.0.0.0:4000/key/generate' \--data-raw '{"team_id": "core-infra", # [OPTIONAL]"max_budget": 10,- "budget_duration": 10s,+ "budget_duration": "30s",}'```@@ -495,7 +495,7 @@ curl 'http://0.0.0.0:4000/user/new' \--header 'Content-Type: application/json' \--data-raw '{"max_budget": 10,- "budget_duration": 10s, # 👈 KEY CHANGE+ "budget_duration": "30s", # 👈 KEY CHANGE}'```</TabItem>@@ -507,7 +507,7 @@ curl 'http://0.0.0.0:4000/key/generate' \--header 'Content-Type: application/json' \--data-raw '{"max_budget": 10,- "budget_duration": 10s, # 👈 KEY CHANGE+ "budget_duration": "30s", # 👈 KEY CHANGE}'```@@ -520,7 +520,7 @@ curl 'http://0.0.0.0:4000/team/new' \--header 'Content-Type: application/json' \--data-raw '{"max_budget": 10,- "budget_duration": 10s, # 👈 KEY CHANGE+ "budget_duration": "30s", # 👈 KEY CHANGE}'```</TabItem>