This doesn't work if I use a reasoning model like o3, which does not allow setting max_tokens.
Without reasoning, how can I be SURE a number is even?
Without reasoning, how can I be SURE a number is even?
Of it agrees, return model output to the user. Otherwise do a couple of retries with different prompts.