noamgat / lm-format-enforcer

Enforce the output format (JSON Schema, Regex etc) of a language model
MIT License
1.01k stars 46 forks source link

Fix invalid JSON in `test_invalid_value_type_in_json_string` #62

Closed AriX closed 5 months ago

AriX commented 5 months ago

This test is intended to catch the fact that num cannot be a string, but that is not being tested because the JSON itself is invalid.