pub fn restore_token_limit(saved: (Option<usize>, usize))
Restore the token limit and progress from a previous set_token_limit call.