llama.cpp
2b196a2c - Add dual-path testing for legacy and experimental parsers

Commit
100 days ago
Add dual-path testing for legacy and experimental parsers - Add chat_parser_impl enum (LEGACY/EXPERIMENTAL) to control parser selection - Run test_template_output_parsers twice: once for each parser implementation - Guard PEG-specific tests (streaming, tool ID extraction) with impl check - Add use_new_parsers flag to template inputs based on impl parameter - Wrapper lambda 'test' avoids changing all test call sites This ensures both legacy and experimental parser paths are tested, with streaming tests only running for experimental PEG parsers. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Author
Parents
Loading