You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# everything at once: shell access plus your own system prompt (replaces the built-in one)
1049
+
mvn -q compile exec:java \
1050
+
-Dexec.args="--model /models/Qwen3-4B-Instruct-2507-Q4_K_M.gguf --ngl 99 --ctx-size 16384 --workspace /path/to/project --allow-shell --system 'You are a local assistant on this machine with full shell access. run_command executes any command line, including docker, git and build tools. When asked about the system, run a command instead of explaining it. Answer in the language of the user.'"
1046
1051
```
1047
1052
1048
1053
The full streaming tool-calling loop (tools → `delta.tool_calls` → Java tool → `role:"tool"` result →
**Everything at once — shell access and your own system prompt:**
73
+
74
+
```bash
75
+
mvn -q compile exec:java \
76
+
-Dexec.args="--model /models/Qwen3-4B-Instruct-2507-Q4_K_M.gguf --ngl 99 --ctx-size 16384 --workspace /path/to/project --allow-shell --system 'You are a local assistant on this machine with full shell access. run_command executes any command line, including docker, git and build tools. When asked about the system, run a command instead of explaining it. Read a file before you edit it. Answer in the language of the user.'"
77
+
```
78
+
79
+
Then ask, for example, *"which docker images are available?"* or *"build the project and fix the
80
+
first compiler error"*. On Windows PowerShell, quote the whole argument instead:
81
+
`"-Dexec.args=--model C:\models\… --allow-shell --system '…'"`. Inside `--system '…'` avoid the
82
+
apostrophe (write *the user* rather than *user's*): the value is already single-quoted.
83
+
69
84
GPU natives: pick the core classifier, e.g. `-Dllama.classifier=cuda13-linux-x86-64` or
70
85
`vulkan-windows-x86-64` (the vendor runtime must be installed — see the root README's classifier
71
86
table). Without it the default CPU jar (incl. macOS Metal) is used. In mode A the classifier is
@@ -79,8 +94,8 @@ irrelevant: inference stays in the running server, the agent's JVM loads no mode
79
94
|`--model <file.gguf>`| load this GGUF in-process instead | — |
0 commit comments