rename llms/OpenAI/ -> llms/openai/ (#7154)

* rename OpenAI -> openai

* fix file rename

* fix rename changes

* fix organization of openai/transcription

* fix import OA fine tuning API

* fix openai ft handler

* fix handler import
This commit is contained in:
Ishaan Jaff 2024-12-10 20:14:07 -08:00 committed by GitHub
parent 61afdab228
commit 5ad57dd54b
48 changed files with 53 additions and 59 deletions

View file

@ -60,7 +60,7 @@ async def test_audio_speech_litellm(sync_mode, model, api_base, api_key):
optional_params={},
)
from litellm.llms.OpenAI.openai import HttpxBinaryResponseContent
from litellm.llms.openai.openai import HttpxBinaryResponseContent
assert isinstance(response, HttpxBinaryResponseContent)
else:
@ -78,7 +78,7 @@ async def test_audio_speech_litellm(sync_mode, model, api_base, api_key):
optional_params={},
)
from litellm.llms.OpenAI.openai import HttpxBinaryResponseContent
from litellm.llms.openai.openai import HttpxBinaryResponseContent
assert isinstance(response, HttpxBinaryResponseContent)
@ -109,7 +109,7 @@ async def test_audio_speech_litellm_vertex(sync_mode):
from types import SimpleNamespace
from litellm.llms.OpenAI.openai import HttpxBinaryResponseContent
from litellm.llms.openai.openai import HttpxBinaryResponseContent
response.stream_to_file(speech_file_path)