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]

add examples on config

Ishaan Jaffc8dfc95e9077
diff --git a/litellm/proxy/proxy_config.yaml b/litellm/proxy/proxy_config.yaml
index dec13898e38..20c08fe63c1 100644
--- a/litellm/proxy/proxy_config.yaml
+++ b/litellm/proxy/proxy_config.yaml
@@ -29,20 +29,20 @@ model_list:
# For /fine_tuning/jobs endpoints
finetune_settings:
- custom_llm_provider: azure
- api_base: https://exampleopenaiendpoint-production.up.railway.app/
+ api_base: https://exampleopenaiendpoint-production.up.railway.app
api_key: fake-key
api_version: "2023-03-15-preview"
- custom_llm_provider: openai
- api_key: fake-key
+ api_key: os.environ/OPENAI_API_KEY
# for /files endpoints
files_settings:
- custom_llm_provider: azure
- api_base: https://exampleopenaiendpoint-production.up.railway.app/
+ api_base: http://0.0.0.0:8090
api_key: fake-key
api_version: "2023-03-15-preview"
- custom_llm_provider: openai
- api_key: fake-key
+ api_key: os.environ/OPENAI_API_KEY
diff --git a/proxy_server_config.yaml b/proxy_server_config.yaml
index f7766b65bfe..67e936a138b 100644
--- a/proxy_server_config.yaml
+++ b/proxy_server_config.yaml
@@ -120,6 +120,24 @@ litellm_settings:
langfuse_secret: os.environ/LANGFUSE_PROJECT2_SECRET # Project 2
langfuse_host: https://us.cloud.langfuse.com
+# For /fine_tuning/jobs endpoints
+finetune_settings:
+ - custom_llm_provider: azure
+ api_base: https://exampleopenaiendpoint-production.up.railway.app
+ api_key: fake-key
+ api_version: "2023-03-15-preview"
+ - custom_llm_provider: openai
+ api_key: os.environ/OPENAI_API_KEY
+
+# for /files endpoints
+files_settings:
+ - custom_llm_provider: azure
+ api_base: http://0.0.0.0:8090
+ api_key: fake-key
+ api_version: "2023-03-15-preview"
+ - custom_llm_provider: openai
+ api_key: os.environ/OPENAI_API_KEY
+
router_settings:
routing_strategy: usage-based-routing-v2
redis_host: os.environ/REDIS_HOST