Skip to content

Commit

Permalink
fix: azure open ai call with gpt4 (#31)
Browse files Browse the repository at this point in the history
Co-authored-by: aravind.mallapureddy <[email protected]>
Co-authored-by: Fynn Flügge <[email protected]>
  • Loading branch information
3 people authored Jan 17, 2024
1 parent 2b86059 commit 773dcc7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doc_comments_ai/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ def run():
if args.azure_deployment:
utils.is_azure_openai_environment_available()
llm_wrapper = llm.LLM(azure_deployment=args.azure_deployment)

if args.gpt4:
elif args.gpt4:
utils.is_openai_api_key_available()
llm_wrapper = llm.LLM(model=GptModel.GPT_4)
elif args.gpt3_5_16k:
Expand Down

0 comments on commit 773dcc7

Please sign in to comment.