feat: improve visibility of memory tool with colored name and diff ou… (#311)

Co-authored-by: Vedant020000 <vedantsondur020@gmail.com>
Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
Charles Packer
2025-12-18 18:05:43 -08:00
committed by GitHub
parent 843f7a50aa
commit 8255e8acca
4 changed files with 411 additions and 2 deletions

View File

@@ -112,3 +112,10 @@ export function isFancyUITool(name: string): boolean {
name === "ExitPlanMode"
);
}
/**
* Checks if a tool is a memory tool (server-side memory management)
*/
export function isMemoryTool(name: string): boolean {
return name === "memory" || name === "memory_apply_patch";
}