You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// In managed auto-memory mode the save_memory tool is not registered.
37
+
// Submit a prompt so the main agent writes the per-entry file directly,
38
+
// choosing the appropriate type (user / feedback / project / reference)
39
+
// based on the content, following the instructions in buildManagedAutoMemoryPrompt.
40
+
constmemoryDir=config
41
+
? getAutoMemoryRoot(config.getProjectRoot())
42
+
: undefined;
43
+
constdirHint=memoryDir ? ` Save it to \`${memoryDir}\`.` : '';
45
44
return{
46
45
type: 'submit_prompt',
47
46
content: `Please save the following to your memory system.${dirHint} Choose the most appropriate memory type (user, feedback, project, or reference) based on the content:\n\n${fact}`,
0 commit comments