Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempting to load an invalid GBNF crashes Home Assistant #70

Open
acon96 opened this issue Feb 19, 2024 · 1 comment
Open

Attempting to load an invalid GBNF crashes Home Assistant #70

acon96 opened this issue Feb 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@acon96
Copy link
Owner

acon96 commented Feb 19, 2024

Describe the bug
If you attempt to load a GBNF grammar file that is invalid syntax, the llama-cpp-python C extension crashes the entire Home Assistant process and must be restarted.

Expected behavior
An error message would tell the user that the grammar file is invalid.

Logs
N/A

@acon96 acon96 added the bug Something isn't working label Feb 19, 2024
@joelis10
Copy link
Contributor

crashes on setup for me too, not sure if its due to GBNF values though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants