Skip to content

Commit

Permalink
Fix openai.py linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Pwuts committed Jun 15, 2023
1 parent 426cfef commit 12588b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions autogpt/llm/providers/openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@
}
# Set aliases for rolling model IDs
chat_model_mapping = {
"gpt-3.5-turbo": "gpt-3.5-turbo-0301",
"gpt-3.5-turbo": "gpt-3.5-turbo-0301",
"gpt-3.5-turbo-16k": "gpt-3.5-turbo-16k-0613",
"gpt-4": "gpt-4-0314",
"gpt-4-32k": "gpt-4-32k-0314",
"gpt-4": "gpt-4-0314",
"gpt-4-32k": "gpt-4-32k-0314",
}
for alias, target in chat_model_mapping.items():
alias_info = ChatModelInfo(**OPEN_AI_CHAT_MODELS[target].__dict__)
Expand Down

0 comments on commit 12588b6

Please sign in to comment.