Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Fix openai.py linting errors

Reinier van der Leer12588b6483b1
diff --git a/autogpt/llm/providers/openai.py b/autogpt/llm/providers/openai.py
index eede1a7d71..0f24b56e75 100644
--- a/autogpt/llm/providers/openai.py
+++ b/autogpt/llm/providers/openai.py
@@ -49,10 +49,10 @@ OPEN_AI_CHAT_MODELS = {
}
# 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__)