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:
@@ -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 });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user