c21edb6908
* Do not set `grammar` to `None` for new `LlamaGrammar` objects The `grammar` attribute is written by `init()`, but that method always returns `None`, so `__init__()` would then discard the previously written object. * Add minimal test for grammar parsing |
||
---|---|---|
.. | ||
test_grammar.py | ||
test_llama.py |