mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
support for finetuned gpt-3.5-turbo
This commit is contained in:
parent
d01017256a
commit
bb7aa6eaaf
3 changed files with 25 additions and 1 deletions
|
@ -202,6 +202,7 @@ def completion(
|
|||
elif (
|
||||
model in litellm.open_ai_chat_completion_models
|
||||
or custom_llm_provider == "custom_openai"
|
||||
or "ft:gpt-3.5-turbo" in model # finetuned gpt-3.5-turbo
|
||||
): # allow user to make an openai call with a custom base
|
||||
openai.api_type = "openai"
|
||||
# note: if a user sets a custom base - we should ensure this works
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue