Add sanitize_logprob function for NaN handling in vLLM log probabilities
#5001
+16
−12