fix: correct invalid 'letta setup' command in missing API key error (#1196)

This commit is contained in:
cthomas
2026-02-27 11:32:15 -08:00
committed by GitHub
parent bd164a40db
commit 0a555f1a31

View File

@@ -176,8 +176,9 @@ export async function getClient() {
if (!apiKey && baseURL === LETTA_CLOUD_API_URL) {
console.error("Missing LETTA_API_KEY");
console.error(
"Run 'letta setup' to configure authentication or set your LETTA_API_KEY environment variable",
"Run 'letta' to configure authentication, or set LETTA_API_KEY to your API key",
);
console.error(new Error("getClient() called without credentials").stack);
process.exit(1);
}