File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ julia --project -e 'using LLMBenchMCPServer; LLMBenchMCPServer.main()' -- MyBenc
6464```
6565
6666Options:
67- - ` --workdir PATH ` : Set the working directory (default: current directory)
67+ - ` --workspace PATH ` : Set the working directory (default: current directory)
6868- ` --socket ` : Run server on Unix domain socket (creates unique socket in /tmp)
6969- ` --no-basic-tools ` : Disable basic tools (bash, str_replace_editor)
7070- ` --verbose ` : Enable verbose output
Original file line number Diff line number Diff line change @@ -257,7 +257,7 @@ function LLMBenchServer(;
257257end
258258
259259# Main entry point for the LLMBenchMCPServer.
260- # Usage: julia --project -m LLMBenchMCPServer ModuleName [--workdir /path]
260+ # Usage: julia --project -m LLMBenchMCPServer ModuleName [--workspace /path]
261261function (@main )(args)
262262 # Handle both array and varargs inputs
263263 if isa (args, Tuple)
@@ -274,7 +274,7 @@ function (@main)(args)
274274 ModuleName Name of the module containing setup_problem and grade functions
275275
276276 Options:
277- --workdir PATH Working directory (default: current directory)
277+ --workspace PATH Working directory (default: current directory)
278278 --socket Run server on Unix domain socket (creates socket in /tmp)
279279 --bind-socket PATH Run server on Unix domain socket at specified path
280280 --revise Load Revise.jl and auto-reload code changes
@@ -304,7 +304,7 @@ function (@main)(args)
304304
305305 # Parse arguments
306306 module_name = args[1 ]
307- working_dir = pwd ()
307+ working_dir = get ( ENV , " LLMBENCH_WORKSPACE " , pwd () )
308308 use_socket = false
309309 socket_path = " " # For --bind-socket
310310 use_revise = false
@@ -316,7 +316,7 @@ function (@main)(args)
316316
317317 i = 2
318318 while i <= length (args)
319- if args[i] == " --workdir " && i + 1 <= length (args)
319+ if args[i] == " --workspace " && i + 1 <= length (args)
320320 working_dir = args[i + 1 ]
321321 i += 2
322322 elseif args[i] == " --socket"
You can’t perform that action at this time.
0 commit comments