chore: add letta source header (#139)

This commit is contained in:
cthomas
2025-12-01 16:18:30 -08:00
committed by GitHub
parent 50c0564460
commit edd173cf34
3 changed files with 14 additions and 3 deletions

View File

@@ -59,5 +59,9 @@ export async function getClient() {
settingsManager.updateSettings({ env: updatedEnv });
}
return new Letta({ apiKey, baseURL });
return new Letta({
apiKey,
baseURL,
defaultHeaders: { "X-Letta-Source": "letta-code" },
});
}