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
rename fine tuning apis
Ishaan Jaff23769b360356
diff --git a/litellm/fine_tuning/main.py b/litellm/fine_tuning/main.pyindex eb5c7d4a435..8dcfe6300fa 100644--- a/litellm/fine_tuning/main.py+++ b/litellm/fine_tuning/main.py@@ -17,7 +17,7 @@ from typing import Any, Coroutine, Dict, Literal, Optional, Unionimport httpximport litellm-from litellm.llms.openai_fine_tuning.openai import (+from litellm.llms.fine_tuning_apis.openai import (FineTuningJob,FineTuningJobCreate,OpenAIFineTuningAPI,@@ -27,7 +27,7 @@ from litellm.types.router import *from litellm.utils import supports_httpx_timeout####### ENVIRONMENT VARIABLES ###################-openai_fine_tuning_instance = OpenAIFineTuningAPI()+fine_tuning_apis_instance = OpenAIFineTuningAPI()#################################################@@ -154,7 +154,7 @@ def create_fine_tuning_job(seed=seed,)- response = openai_fine_tuning_instance.create_fine_tuning_job(+ response = fine_tuning_apis_instance.create_fine_tuning_job(api_base=api_base,api_key=api_key,organization=organization,@@ -275,7 +275,7 @@ def cancel_fine_tuning_job(_is_async = kwargs.pop("acancel_fine_tuning_job", False) is True- response = openai_fine_tuning_instance.cancel_fine_tuning_job(+ response = fine_tuning_apis_instance.cancel_fine_tuning_job(api_base=api_base,api_key=api_key,organization=organization,@@ -401,7 +401,7 @@ def list_fine_tuning_jobs(_is_async = kwargs.pop("alist_fine_tuning_jobs", False) is True- response = openai_fine_tuning_instance.list_fine_tuning_jobs(+ response = fine_tuning_apis_instance.list_fine_tuning_jobs(api_base=api_base,api_key=api_key,organization=organization,diff --git a/litellm/llms/openai_fine_tuning/openai.py b/litellm/llms/fine_tuning_apis/openai.pysimilarity index 100%rename from litellm/llms/openai_fine_tuning/openai.pyrename to litellm/llms/fine_tuning_apis/openai.py