If you look at the summary version, there is a boolean defined `use_t` to select whether the pvalues and conf_int are based on normal or t-distribution. "z" or "t" are used conditional on this flag. IIRC (written based on memory)