Change8

b8656

📦 llama-cppView on GitHub →
🐛 4 fixes🔧 4 symbols

Summary

This release addresses several bugs related to tool call type detection and schema parsing for nullable and enum types, improving robustness in grammar delegation.

🐛 Bug Fixes

  • Fixed tool call type detection for nullable and enum schemas.
  • Fixed grammar delegation for nullable/enum schemas.
  • Fixed enum type inference to scan all enum values (not just index 0) to correctly detect types for schemas like {"enum": [0, "celsius"]}.
  • Fixed schema_delegates in peg-parser to handle nullable type arrays (["string", "null"]) and typeless enum schemas in raw mode.

Affected Symbols