Skip to content

b10618

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 25 Aug 07:06
eb25b72

grammar : parse - in char classes as literal hyphen (#27591)

  • grammar : accept "-" escape in character classes

gbnf_escape_char_class() escapes '-' as "-" but parse_char() rejected
that escape, so generated tool-call grammars failed to parse.

Assisted-by: Claude Code claude@anthropic.com

  • tests : add parser test for "-" in char classes

Assisted-by: Claude Code claude@anthropic.com

  • tests : add integration test for "-" in char classes

Assisted-by: Claude Code claude@anthropic.com

  • tests : drop integration and parser tests

Website:

Attestations:

macOS/iOS:

Linux:

Android:

Windows:

openEuler:

  • DISABLED
  • openEuler x86 (310p)
  • openEuler x86 (910b, ACL Graph)
  • openEuler aarch64 (310p)
  • openEuler aarch64 (910b, ACL Graph)

UI: