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 pull request #5463 from BerriAI/litellm_track_error_per_model

Ishaan Jaffd9f3ac51597d
diff --cc litellm/proxy/proxy_config.yaml
index f9252a4d540,e97833421ea..c32d7d755ff
--- a/litellm/proxy/proxy_config.yaml
+++ b/litellm/proxy/proxy_config.yaml
@@@ -3,22 -3,12 +3,13 @@@ model_list
litellm_params:
model: openai/fake
api_key: fake-key
- api_base: https://exampleopenaiendpoint-production.up.railway.app/
- tags: ["teamA"] # 👈 Key Change
model_info:
id: "team-a-model" # used for identifying model in response headers
- - model_name: fake-openai-endpoint
- litellm_params:
- model: openai/fake
- api_key: fake-key
- api_base: https://exampleopenaiendpoint-production.up.railway.app/
- tags: ["teamB"] # 👈 Key Change
- model_info:
- id: "team-b-model" # used for identifying model in response headers
- router_settings:
- enable_tag_filtering: True # 👈 Key Change
+ litellm_settings:
+ success_callback: ["prometheus"]
+ failure_callback: ["prometheus"]
general_settings:
- master_key: sk-1234
+ master_key: sk-1234
+ custom_auth: example_config_yaml.custom_auth_basic.user_api_key_auth