this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(letta): pass server password to client for auth

Letta server runs in secure mode requiring authentication.
Added LETTA_SERVER_PASSWORD config and pass it as apiKey to the client.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

alice e0030ec5 e9760d3d

+2
+1
src/config.ts
··· 51 51 52 52 // === Letta === 53 53 LETTA_BASE_URL: requireEnv('LETTA_BASE_URL'), 54 + LETTA_SERVER_PASSWORD: optionalEnv('LETTA_SERVER_PASSWORD', ''), 54 55 55 56 // === Telegram === 56 57 TELEGRAM_BOT_TOKEN: requireEnv('TELEGRAM_BOT_TOKEN'),
+1
src/letta.ts
··· 35 35 export function getLettaClient(): Letta { 36 36 lettaClient ??= new Letta({ 37 37 baseURL: config.LETTA_BASE_URL, 38 + apiKey: config.LETTA_SERVER_PASSWORD || undefined, 38 39 }); 39 40 return lettaClient; 40 41 }