fix linting errors

This commit is contained in:
ishaan-jaff 2023-08-22 16:06:41 -07:00
parent 91901aa986
commit 6451183272
5 changed files with 23 additions and 10 deletions

View file

@ -202,7 +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
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