Coding
llama.cpp's web UI now supports executing model generated JavaScript in the browser, through Web Workers (opt in)
The recent update to llama.cpp's web UI includes a new `run_javascript` tool that enables the execution of model-generated JavaScript within the browser using Web Workers. This feature operates in a sandboxed iframe, providing security guarantees, though it currently restricts network requests and lacks clear documentation on sandbox limitations. This enhancement allows practitioners to leverage language models for lightweight code execution directly in the UI, potentially reducing the need for external tools.
llama.cppjavascript