The llama.cpp server and UI have been updated to conditionally display the working directory control. Previously, this chip appeared whenever any builtin tool was exposed, even if no tool actually used it.
- Tools now declare whether they resolve paths against the working directory alongside their write permissions in the /tools listing.
- The WebUI shows the working directory chip and enables the /cwd command only when at least one served tool is both enabled and capable of reading the directory.
- This change prevents the UI from showing a useless control for servers started with tools like get_datetime or where all filesystem tools are disabled.
This update improves the user interface by ensuring that controls are only presented when they are functional, reducing clutter in configurations that do not require file system access.