From bb023001076fa0e7c0145d9d49bf4f25708c033f Mon Sep 17 00:00:00 2001 From: Kaveen Kumarasinghe Date: Wed, 11 Jan 2023 18:15:07 -0500 Subject: [PATCH] remove prints --- cogs/gpt_3_commands_and_converser.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/cogs/gpt_3_commands_and_converser.py b/cogs/gpt_3_commands_and_converser.py index 15e33f7..19dbd4d 100644 --- a/cogs/gpt_3_commands_and_converser.py +++ b/cogs/gpt_3_commands_and_converser.py @@ -650,9 +650,6 @@ class GPT3ComCon(discord.Cog, name="GPT3ComCon"): self.conversation_threads[after.channel.id].count += 1 - print("-------------------------- Conversation POINT 1") - print(self.conversation_threads[ctx.channel.id].history) - print("---------------------------- END Conersation POINT 1") await self.encapsulated_send( id=after.channel.id, @@ -888,9 +885,6 @@ class GPT3ComCon(discord.Cog, name="GPT3ComCon"): new_prompt_item ) - print("-------------------------- Conversation POINT 2") - print(self.conversation_threads[ctx.channel.id].history) - print("---------------------------- END Conersation POINT 2") if edited_request: new_prompt = "".join( [ @@ -934,10 +928,6 @@ class GPT3ComCon(discord.Cog, name="GPT3ComCon"): for prompt, timestamp in similar_prompts ] - print("-------------------------- Conversation POINT 3") - print(self.conversation_threads[ctx.channel.id].history) - print("---------------------------- END Conersation POINT 3") - # iterate UP TO the last X prompts in the history for i in range( 1, @@ -1023,10 +1013,6 @@ class GPT3ComCon(discord.Cog, name="GPT3ComCon"): await self.end_conversation(ctx) return - print("-------------------------- BEFORE MODEL REQUEST") - print(self.conversation_threads[ctx.channel.id].history) - print("---------------------------- BEFORE MODEL REQUEST") - # Send the request to the model response = await self.model.send_request( new_prompt,