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
docs(user_keys.md): add regex doc for clientside auth params
Krrish Dholakia87f256bec11d
diff --git a/docs/my-website/docs/proxy/user_keys.md b/docs/my-website/docs/proxy/user_keys.mdindex 92121fd6090..eccf9e13c90 100644--- a/docs/my-website/docs/proxy/user_keys.md+++ b/docs/my-website/docs/proxy/user_keys.md@@ -1158,11 +1158,13 @@ model_list:litellm_params:model: "fireworks_ai/*"configurable_clientside_auth_params: ["api_base"]+ # OR+ configurable_clientside_auth_params: [{"api_base": "^https://litellm.*direct\.fireworks\.ai/v1$"}] # 👈 regex```Specify any/all auth params you want the user to be able to configure:-- api_base+- api_base (✅ regex supported)- api_key- base_url@@ -1185,7 +1187,7 @@ response = client.chat.completions.create(model="gpt-3.5-turbo", messages = ["content": "this is a test request, write a short poem"}],- extra_body={"api_key": "my-bad-key"}) # 👈 User Key+ extra_body={"api_key": "my-bad-key", "api_base": "https://litellm-dev.direct.fireworks.ai/v1"}) # 👈 clientside credentialsprint(response)```