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
read ft config
Ishaan Jaffbd7b485d09a6
diff --git a/litellm/proxy/proxy_config.yaml b/litellm/proxy/proxy_config.yamlindex f7e5a894f01..dec13898e38 100644--- a/litellm/proxy/proxy_config.yaml+++ b/litellm/proxy/proxy_config.yaml@@ -25,6 +25,27 @@ model_list:api_key: "os.environ/OPENAI_API_KEY"model_info:mode: audio_speech++# 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: fake-key++# for /files endpoints+files_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: fake-key+++general_settings:master_key: sk-1234diff --git a/litellm/proxy/proxy_server.py b/litellm/proxy/proxy_server.pyindex a995980f276..9f96dd286dd 100644--- a/litellm/proxy/proxy_server.py+++ b/litellm/proxy/proxy_server.py@@ -154,6 +154,7 @@ from litellm.proxy.common_utils.openai_endpoint_utils import (remove_sensitive_info_from_deployment,)from litellm.proxy.fine_tuning_endpoints.endpoints import router as fine_tuning_router+from litellm.proxy.fine_tuning_endpoints.endpoints import set_fine_tuning_configfrom litellm.proxy.guardrails.init_guardrails import initialize_guardrailsfrom litellm.proxy.health_check import perform_health_checkfrom litellm.proxy.health_endpoints._health_endpoints import router as health_router@@ -1808,6 +1809,13 @@ class ProxyConfig:assistant_settings["litellm_params"][k] = vassistants_config = AssistantsTypedDict(**assistant_settings) # type: ignore+ ## /fine_tuning/jobs endpoints config+ finetuning_config = config.get("finetune_settings", None)+ set_fine_tuning_config(config=finetuning_config)++ ## /files endpoint config+ files_config = config.get("files_settings", None)+## ROUTER SETTINGS (e.g. routing_strategy, ...)router_settings = config.get("router_settings", None)if router_settings and isinstance(router_settings, dict):