remove api key prints

Kaveen Kumarasinghe 1 year ago
parent cfb7eb0903
commit 051fc3a2ff

@ -746,7 +746,6 @@ class GPT3ComCon(discord.Cog, name="GPT3ComCon"):
from_g_command=False,
custom_api_key=None,
):
print("The custom API key was given as: " + str(custom_api_key))
new_prompt = prompt + "\nGPTie: " if not from_g_command else prompt
from_context = isinstance(ctx, discord.ApplicationContext)

@ -456,10 +456,6 @@ class Model:
print(
f"Overrides -> temp:{temp_override}, top_p:{top_p_override} frequency:{frequency_penalty_override}, presence:{presence_penalty_override}"
)
if custom_api_key:
print("USING A CUSTOM API KEY FOR THIS!!!")
print(custom_api_key)
print("END API KEY")
async with aiohttp.ClientSession() as session:
payload = {
@ -562,10 +558,6 @@ class Model:
response = await resp.json()
print(response)
if custom_api_key:
print("USING A CUSTOM API KEY FOR THIS!!!")
print(custom_api_key)
print("END API KEY")
image_urls = []
for result in response["data"]:

Loading…
Cancel
Save