From 1749a3af836303c889f6800bba3e806ff9e61cd7 Mon Sep 17 00:00:00 2001 From: Vivian Fang Date: Wed, 25 Oct 2023 23:46:21 -0700 Subject: [PATCH] add note about how to turn on inner thoughts --- memgpt/autogen/memgpt_agent.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/memgpt/autogen/memgpt_agent.py b/memgpt/autogen/memgpt_agent.py index 10161b2f..fc71fe06 100644 --- a/memgpt/autogen/memgpt_agent.py +++ b/memgpt/autogen/memgpt_agent.py @@ -41,6 +41,16 @@ def create_autogen_memgpt_agent( persistence_manager=None, persistence_manager_kwargs={}, ): + """ + See AutoGenInterface.__init__ for available options you can pass into `interface_kwargs`. + For example, MemGPT's inner monologue and functions are off by default so that they are not visible to the other agents. You can turn these on by passing in + ``` + interface_kwargs={ + "debug": True, # to see all MemGPT activity + "show_inner_thoughts: True # to print MemGPT inner thoughts "globally" (visible to all AutoGen agents) + } + ``` + """ interface = AutoGenInterface(**interface_kwargs) if interface is None else interface persistence_manager = ( InMemoryStateManager(**persistence_manager_kwargs)