fix: stop caching LETTA_BASE_URL in settings.json (#46)

Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
Charles Packer
2025-10-31 23:38:14 -07:00
committed by GitHub
parent 3dc6963dfb
commit 94393a8566
4 changed files with 21 additions and 15 deletions

View File

@@ -643,7 +643,8 @@ export default function App({
const currentSettings = settingsManager.getSettings();
const newEnv = { ...currentSettings.env };
delete newEnv.LETTA_API_KEY;
delete newEnv.LETTA_BASE_URL;
// Note: LETTA_BASE_URL is intentionally NOT deleted from settings
// because it should not be stored there in the first place
settingsManager.updateSettings({
env: newEnv,