From cb00811688b1b7eb73c081b3895b5cb43734808f Mon Sep 17 00:00:00 2001 From: Suhaib Mujahid Date: Wed, 26 Jun 2024 00:34:44 -0400 Subject: [PATCH] [code_review] Drop unnecessary print statements --- bugbug/tools/code_review.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bugbug/tools/code_review.py b/bugbug/tools/code_review.py index d1dd9f7038..27f46fbbf3 100644 --- a/bugbug/tools/code_review.py +++ b/bugbug/tools/code_review.py @@ -538,8 +538,6 @@ def run(self, patch: Patch) -> list[InlineComment] | None: return_only_outputs=True, )["text"] - print(output_summarization) - memory = ConversationBufferMemory() conversation_chain = ConversationChain( llm=self.llm, @@ -564,8 +562,6 @@ def run(self, patch: Patch) -> list[InlineComment] | None: input=PROMPT_TEMPLATE_REVIEW.format(patch=formatted_patch) ) - print(output) - memory.clear() raw_output = self.filtering_chain.invoke(