pub fn record_session_title( session: &Session, cwd: &Path, title: &str, provider: &str, model: &str, ) -> Result<()>