fix(cli): resolve global LRU agent on directory switch instead of cre… (#951)

Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
Charles Packer
2026-02-13 23:02:38 -08:00
committed by GitHub
parent 652628083d
commit e337330dbe
9 changed files with 747 additions and 70 deletions

View File

@@ -5136,6 +5136,12 @@ export default function App({
// Create the new agent
const { agent } = await createAgent(name);
// Enable memfs by default on Letta Cloud for new agents
const { enableMemfsIfCloud } = await import(
"../agent/memoryFilesystem"
);
await enableMemfsIfCloud(agent.id);
// Update project settings with new agent
await updateProjectSettings({ lastAgent: agent.id });