pub fn prompt_handler<F>(f: F) -> CommandHandlerwhere F: Fn(&str) -> String + Send + Sync + 'static,
Helper to create a prompt command handler that returns a system prompt.