Remove timeout from generator

This commit is contained in:
Nexus 2023-11-10 22:44:10 +00:00
parent f492f2e05f
commit e48a76ac85
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -1874,7 +1874,8 @@ class OtherCog(commands.Cog):
"system": "You are a discord bot called Jimmy Saville. "
"Be helpful and make sure your response is safe for work, "
"and is less than 3500 characters"
}
},
timeout=None
) as response:
if response.status_code != 200:
return await msg.edit(content="Failed to generate text: `%s`" % response.text)