HF is formed by chemical reaction in a lithium-ion battery fire.

https://www.nature.com/articles/s41598-017-09784-z

Hydrogen fluoride does damage but not immediately. Damage may take days to appear.

Contact medical help if you breathe anything leaking from a burning li-ion cell.

https://www.google.com/search?client=firefox-b-1-d&q=hydrogen+fluoride+delayed+damage

Remember the key thing about a lithium-ion fire: don’t inhale!