feat: simplify new agent intro message with /init tip (#288)

Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
Charles Packer
2025-12-17 22:35:02 -08:00
committed by GitHub
parent f4dadefe79
commit 5635cb70e6
2 changed files with 11 additions and 21 deletions

View File

@@ -60,7 +60,7 @@ type LoadingState =
export function getAgentStatusHints(
continueSession: boolean,
agentState?: Letta.AgentState | null,
agentProvenance?: AgentProvenance | null,
_agentProvenance?: AgentProvenance | null,
): string[] {
const hints: string[] = [];
@@ -83,14 +83,6 @@ export function getAgentStatusHints(
return hints;
}
// For new agents, show initialized memory blocks
if (agentProvenance) {
const blockLabels = agentProvenance.blocks.map((b) => b.label);
if (blockLabels.length > 0) {
hints.push(`→ Initialized memory blocks: ${blockLabels.join(", ")}`);
}
}
return hints;
}