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()