7c0d147956
Previously the model could emit EOS before reaching n_bars because the EOS-suppression was only applied via the n_bars break, not the grammar bias. Fixed by masking EOS to -inf in the logit bias while bars_completed < n_bars. Added _EosHungryModel fixture and test_generate_bars_overrides_early_eos to catch this regression class. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>