lint: Fix all E302 linting errors

This commit is contained in:
Drikus Roor
2023-04-12 23:05:14 +02:00
committed by Drikus Roor
parent 04dc0f7149
commit d1ea6cf002
20 changed files with 47 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ cfg = Config()
openai.api_key = cfg.openai_api_key
# Overly simple abstraction until we create something better
def create_chat_completion(messages, model=None, temperature=cfg.temperature, max_tokens=None)->str:
"""Create a chat completion using the OpenAI API"""