From aa5188b7f82ce797ed8cc67695b8f13ef5d66692 Mon Sep 17 00:00:00 2001 From: goulustis Date: Fri, 6 Feb 2026 09:38:33 +0800 Subject: [PATCH] change printer func --- lang_agent/components/conv_store.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lang_agent/components/conv_store.py b/lang_agent/components/conv_store.py index 0776b92..3dc8e7e 100644 --- a/lang_agent/components/conv_store.py +++ b/lang_agent/components/conv_store.py @@ -105,4 +105,8 @@ class ConversationPrinter: self.id_dic[conv_id] += len(to_print_msg) CONV_STORE = ConversationStore() -# CONV_STORE = ConversationPrinter() \ No newline at end of file +# CONV_STORE = ConversationPrinter() + +def use_printer(): + global CONV_STORE + CONV_STORE = ConversationPrinter()