Skip to main content

format_preferences_compact

Function format_preferences_compact 

Source
pub fn format_preferences_compact(preferences: &[Preference]) -> String
Expand description

Formats user preferences into a compact string for prompt inclusion.

This is a lighter-weight alternative to format_memory_for_prompt when only preferences are needed (e.g., for routing decisions).