From a7f4412b07a9a0725f769565d7b7687a8c296524 Mon Sep 17 00:00:00 2001 From: Martin Bernstorff Date: Sun, 27 Oct 2024 14:49:08 +0100 Subject: [PATCH] update prompt_source.py --- memium/source/prompt_source.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/memium/source/prompt_source.py b/memium/source/prompt_source.py index 4cd2b0d..b5b2ef6 100644 --- a/memium/source/prompt_source.py +++ b/memium/source/prompt_source.py @@ -45,7 +45,12 @@ def _deduplicate_group(self, group: tuple[str, Sequence[BasePrompt]]) -> BasePro if prompts_in_group[0].edit_url else prompts_in_group[0] ) - log.warning(f"Found duplicate prompts for {identifier}. Prompts: {prompts_in_group}") + log.warning( + f"""{identifier} has duplicate prompts: + Prompts: + {'\t\t'.join(prompts_in_group.__repr__())} +""" + ) return prompts_in_group[0]