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.

Updated readme with actual argument (#3083)

Denis Kuznedelevaa7059746f18
diff --git a/README.md b/README.md
index c5b460efd..7d0746741 100644
--- a/README.md
+++ b/README.md
@@ -46,7 +46,7 @@ from letta_client import Letta
import os
# Connect to Letta Cloud (get your API key at https://app.letta.com/api-keys)
-client = Letta(token=os.getenv("LETTA_API_KEY"))
+client = Letta(api_key=os.getenv("LETTA_API_KEY"))
# client = Letta(base_url="http://localhost:8283", embedding="openai/text-embedding-3-small") # if self-hosting, set base_url and embedding
agent_state = client.agents.create(