add note about how to turn on inner thoughts

This commit is contained in:
Vivian Fang
2023-10-25 23:46:21 -07:00
parent 34eb8fa177
commit 1749a3af83

View File

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