#ChatCompletion get many timeout error and timeout attribute not working
3 messages · Page 1 of 1 (latest)
def get_completion(self, message):
return openai.ChatCompletion.create(model="gpt-3.5-turbo",
messages=list(self.history.queue) + self.command(message),
presence_penalty=1,
frequency_penalty=1,
temperature=constant.temperature, timeout=30)```
ChatCompletion get many timeout error and timeout attribute not working