This commit is contained in:
konrad 2023-08-05 20:56:32 +01:00
parent a8b7aa8cb1
commit edad4612b0
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ while True:
elif command == "PRIVMSG" and chunk[2].startswith("#") and chunk[3] == ":" + nickname + ":":
channel = chunk[2].strip()
question = data.split(nickname + ":")[1].strip()
if model in ["gpt-4", "gpt-4-0613,", "gpt-4-32k,", "gpt-4-32k-0613,", "gpt-3.5-turbo,", "gpt-3.5-turbo-0613", "gpt-3.5-turbo-16k", "gpt-3.5-turbo-16k-0613"]:
if model in ["gpt-4", "gpt-4-0613", "gpt-4-32k", "gpt-4-32k-0613", "gpt-3.5-turbo", "gpt-3.5-turbo-0613", "gpt-3.5-turbo-16k", "gpt-3.5-turbo-16k-0613"]:
try:
response = openai.ChatCompletion.create(
model=model,