Skip to main content

get_identity

Function get_identity 

Source
pub fn get_identity() -> String
Expand description

Returns the configured identity string for the system prompt preamble. Falls back to DEFAULT_IDENTITY (the SynapsCLI identity above) if not set in config. Initialized by load_config() — safe to call anytime after boot.