From 578f9d835df1f3d5d582eba7d79aacc1bf896e8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kaan=20=C3=87ayl=C4=B1?= <38523756+kaancayli@users.noreply.github.com> Date: Wed, 21 Feb 2024 15:43:27 +0100 Subject: [PATCH] Revert __str__ implementation --- app/pipeline/shared/summary_pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/pipeline/shared/summary_pipeline.py b/app/pipeline/shared/summary_pipeline.py index 61cb7954..2f7d0f4e 100644 --- a/app/pipeline/shared/summary_pipeline.py +++ b/app/pipeline/shared/summary_pipeline.py @@ -43,7 +43,7 @@ def __repr__(self): return f"{self.__class__.__name__}(llm={self.llm})" def __str__(self): - return f"(ref at {id(self)}) {self.__class__.__name__}(implementation_id={self.implementation_id}, llm={self.llm})" + return f"{self.__class__.__name__}(llm={self.llm})" def __call__(self, query: str, **kwargs) -> str: """