llama.cpp’s web UI now supports executing model generated JavaScript in the browser, through Web Workers (opt in)
A pull request adding a new run_javascript tool was merged into mainline a couple of weeks ago. I could not find any discussion about it here,…