]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
server: report the isolate working directory from get_info (#26773)
authorPascal <redacted>
Sat, 8 Aug 2026 22:42:50 +0000 (00:42 +0200)
committerGitHub <redacted>
Sat, 8 Aug 2026 22:42:50 +0000 (00:42 +0200)
commit7ba604f1cb61cd14898138e9abc0b4ff2601f180
tree58a01f7effa408f774472e3c59e7f10cdcbd6ebb
parent687e7789271ec1276e3470f158428e11a4f80b6f
server: report the isolate working directory from get_info (#26773)

* server: report the isolate working directory from get_info

Without an explicit cwd, get_info fell back to the server process
working directory even when a tools runtime was configured. That named a
host path no tool would ever run in, since an isolate starts in a
directory of its own.

It now asks the isolate for its working directory in that case, and
keeps the process one only when the tools run on the host.

* remove redundant comment

---------

Co-authored-by: Xuan-Son Nguyen <redacted>
tools/server/server-tools.cpp