Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

add note about how to turn on inner thoughts

Vivian Fang1749a3af8363
diff --git a/memgpt/autogen/memgpt_agent.py b/memgpt/autogen/memgpt_agent.py
index 10161b2fd..fc71fe064 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)