Adding perplexity to get_monitoring_channels_from_state would be useful