Skip to content

Commit

Permalink
Update providers.py
Browse files Browse the repository at this point in the history
Signed-off-by: smartestrobotdai <[email protected]>
  • Loading branch information
magiccpp authored Jan 7, 2024
1 parent 6a6a013 commit 20a28e7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion nemoguardrails/llm/providers/providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ def get_llm_provider(model_config: Model) -> Type[BaseLanguageModel]:
return ChatOpenAI
elif (model_config.engine == "azure"
and ("gpt-3.5" in model_config.model or "gpt-4" in model_config.model)):
print('Azure is found')
return AzureChatOpenAI
else:
return _providers[model_config.engine]
Expand Down

0 comments on commit 20a28e7

Please sign in to comment.