llama.cpp
90e72ff8 - Fix Seed-OSS grammar allowing unlimited newlines

Commit
101 days ago
Fix Seed-OSS grammar allowing unlimited newlines - Limit newlines around <seed:eos> to max 2 (was unlimited) - Replace content_after with limited post_tool_gap (max 2 newlines) - Limit pre_eos_gap to max 2 newlines - Enforce required parameters for non-string types in grammar - Add README.peg.md documenting PEG parser limitations This fixes the issue where the grammar allowed unlimited newlines, causing models to generate endless whitespace until hitting the token limit (finish_reason: "length" instead of "tool_calls"). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Author
Parents
Loading