acon96 / home-llm

A Home Assistant integration & Model to control your smart home using a Local LLM
680 stars 69 forks source link

Attempting to load an invalid GBNF crashes Home Assistant #70

Open acon96 opened 9 months ago

acon96 commented 9 months ago

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

joelis10 commented 7 months ago

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