mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
test: replace gpt-3.5-turbo-0613 (deprecated model) (#5794)
This commit is contained in:
parent
117834669c
commit
1a55827a0a
9 changed files with 41 additions and 34 deletions
|
@ -598,7 +598,7 @@ def test_get_llm_provider_ft_models():
|
|||
All ft prefixed models should map to OpenAI
|
||||
gpt-3.5-turbo-0125 (recommended),
|
||||
gpt-3.5-turbo-1106,
|
||||
gpt-3.5-turbo-0613,
|
||||
gpt-3.5-turbo,
|
||||
gpt-4-0613 (experimental)
|
||||
gpt-4o-2024-05-13.
|
||||
babbage-002, davinci-002,
|
||||
|
@ -610,13 +610,13 @@ def test_get_llm_provider_ft_models():
|
|||
model, custom_llm_provider, _, _ = get_llm_provider(model="ft:gpt-3.5-turbo-1106")
|
||||
assert custom_llm_provider == "openai"
|
||||
|
||||
model, custom_llm_provider, _, _ = get_llm_provider(model="ft:gpt-3.5-turbo-0613")
|
||||
model, custom_llm_provider, _, _ = get_llm_provider(model="ft:gpt-3.5-turbo")
|
||||
assert custom_llm_provider == "openai"
|
||||
|
||||
model, custom_llm_provider, _, _ = get_llm_provider(model="ft:gpt-4-0613")
|
||||
assert custom_llm_provider == "openai"
|
||||
|
||||
model, custom_llm_provider, _, _ = get_llm_provider(model="ft:gpt-3.5-turbo-0613")
|
||||
model, custom_llm_provider, _, _ = get_llm_provider(model="ft:gpt-3.5-turbo")
|
||||
assert custom_llm_provider == "openai"
|
||||
|
||||
model, custom_llm_provider, _, _ = get_llm_provider(model="ft:gpt-4o-2024-05-13")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue