Files
letta-code/src/constants.ts
2026-01-21 20:43:35 -08:00

34 lines
964 B
TypeScript

/**
* Application-wide constants
*/
/**
* Default model ID to use when no model is specified
*/
export const DEFAULT_MODEL_ID = "sonnet-4.5";
/**
* Default agent name when creating a new agent
*/
export const DEFAULT_AGENT_NAME = "Nameless Agent";
/**
* Message displayed when user interrupts tool execution
*/
export const INTERRUPTED_BY_USER = "Interrupted by user";
/**
* XML tag used to wrap system reminder content injected into messages
*/
export const SYSTEM_REMINDER_TAG = "system-reminder";
export const SYSTEM_REMINDER_OPEN = `<${SYSTEM_REMINDER_TAG}>`;
export const SYSTEM_REMINDER_CLOSE = `</${SYSTEM_REMINDER_TAG}>`;
/**
* Status bar thresholds - only show indicators when values exceed these
*/
// Show token count after 100 estimated tokens (shows exact count until 1k, then compact)
export const TOKEN_DISPLAY_THRESHOLD = 100;
// Show elapsed time after 2 minutes (in ms)
export const ELAPSED_DISPLAY_THRESHOLD_MS = 2 * 60 * 1000;