Updated readme with actual argument (#3083)

Co-authored-by: Godofnothing <score.denis@mail.ru>
This commit is contained in:
Denis Kuznedelev
2025-11-27 11:56:48 +03:00
committed by GitHub
parent 0893bbf2ae
commit aa7059746f

View File

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