in backend/langchainadapters.py [0:0]
def get_and_reset_log(self) -> str: result = self.html self.html = "" return result