diff --git a/README.md b/README.md index c5a02330..e0728e27 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ MemGPT allows you to build LLM agents with self-editing memory Try out our MemGPT chatbot on Discord! - + You can now run MemGPT with open/local LLMs and AutoGen! @@ -142,7 +142,7 @@ client = MemGPT( ) # You can set many more parameters, this is just a basic example -agent_id = client.create_agent( +agent_state = client.create_agent( agent_config={ "persona": "sam_pov", "human": "cs_phd", @@ -152,7 +152,7 @@ agent_id = client.create_agent( # Now that we have an agent_name identifier, we can send it a message! # The response will have data from the MemGPT agent my_message = "Hi MemGPT! How's it going?" -response = client.user_message(agent_id=agent_id, message=my_message) +response = client.user_message(agent_id=agent_state.id, message=my_message) ```