The llama.cpp b10271 release introduces a per-conversation working directory feature to the UI, allowing users to set and navigate directories independently for each chat session.

  • The server extends file_glob_search to support UI pickers with improved path navigation.
  • Path-like queries starting with / or ~ are treated as directory navigation rather than glob-matching.
  • Windows drive roots (e.g., C:) and UNC shares are now recognized for path navigation.
  • Backslashes in queries are rewritten to forward slashes only when a Windows root is present.
  • The working directory picker is decoupled into utils and sub-components for better maintainability.
  • Tool call blocks include get_info, and tool paths under home are abbreviated with a tilde.

This update improves file handling consistency across platforms by ensuring the effective search scope is visible and that current directories appear immediately upon opening.