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]

Merge branch 'main' into litellm_allow_turning_off_message_logging_for_callbacks

Ishaan Jaff479b12be0952
diff --cc litellm/proxy/proxy_config.yaml
index e385a23d7ef,4b84fc26955..ad7fbd384e4
--- a/litellm/proxy/proxy_config.yaml
+++ b/litellm/proxy/proxy_config.yaml
@@@ -1,27 -1,24 +1,31 @@@
model_list:
- model_name: openai/*
litellm_params:
- model: gpt-3.5-turbo
+ model: openai/*
api_key: os.environ/OPENAI_API_KEY
+ model_info:
+ id: "good-openai"
+ - model_name: openai/*
+ litellm_params:
+ model: openai/*
+ api_key: os.environ/non-exsitent-env-var
+ tags: ["bad-model"]
+ model_info:
+ id: "test-openai"
- litellm_settings:
- success_callback: ["prometheus"]
- failure_callback: ["prometheus"]
- guardrails:
- - guardrail_name: "presidio-pre-guard"
- litellm_params:
- guardrail: presidio # supported values: "aporia", "lakera", "presidio"
- mode: "pre_call" # pre_call, during_call, post_call
- output_parse_pii: True
+litellm_settings:
+ callbacks: ["otel"]
+
+callback_settings:
+ otel:
+ message_logging: False
+
+ router_settings:
+ enable_tag_filtering: True # 👈 Key Chang
+
+
general_settings:
master_key: sk-1234
alerting: ["slack"]