For categorical features, always set discrete_values=True to keep things consistent and calculate mutual information properly. For continuous features, you can just leave discrete_values as it is (False by default) or skip specifying it altogether since that's the default anyway.
so in your case , just set it to True , and it wont generate random values