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
fix reading files/ft config
Ishaan Jaffddc74dbccca6
diff --git a/litellm/proxy/fine_tuning_endpoints/endpoints.py b/litellm/proxy/fine_tuning_endpoints/endpoints.pyindex e95c2bae319..a8f01cd4894 100644--- a/litellm/proxy/fine_tuning_endpoints/endpoints.py+++ b/litellm/proxy/fine_tuning_endpoints/endpoints.py@@ -39,6 +39,9 @@ fine_tuning_config = Nonedef set_fine_tuning_config(config):+ if config is None:+ return+global fine_tuning_configif not isinstance(config, list):raise ValueError("invalid fine_tuning config, expected a list is not a list")diff --git a/litellm/proxy/openai_files_endpoints/files_endpoints.py b/litellm/proxy/openai_files_endpoints/files_endpoints.pyindex 325bfa6349c..330798c9dbc 100644--- a/litellm/proxy/openai_files_endpoints/files_endpoints.py+++ b/litellm/proxy/openai_files_endpoints/files_endpoints.py@@ -39,6 +39,9 @@ files_config = Nonedef set_files_config(config):global files_config+ if config is None:+ return+if not isinstance(config, list):raise ValueError("invalid files config, expected a list is not a list")