feat: add session context system reminder on first message (#229)

Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
Charles Packer
2025-12-15 19:44:34 -08:00
committed by GitHub
parent f354e6aa41
commit 4cc4928bb0
3 changed files with 280 additions and 2 deletions

View File

@@ -10,6 +10,7 @@ export interface Settings {
lastAgent: string | null;
tokenStreaming: boolean;
enableSleeptime: boolean;
sessionContextEnabled: boolean; // Send device/agent context on first message of each session
globalSharedBlockIds: Record<string, string>; // DEPRECATED: kept for backwards compat
profiles?: Record<string, string>; // DEPRECATED: old format, kept for migration
pinnedAgents?: string[]; // Array of agent IDs pinned globally
@@ -38,6 +39,7 @@ const DEFAULT_SETTINGS: Settings = {
lastAgent: null,
tokenStreaming: false,
enableSleeptime: false,
sessionContextEnabled: true,
globalSharedBlockIds: {},
};