@openclaw/llama-cpp-provider 2026.7.2-beta.7 → 2026.8.1-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -19
- package/dist/index.js +1606 -642
- package/dist/managed-provider-config-BDKErKo0.js +115 -0
- package/dist/provider-policy-api.js +19 -0
- package/openclaw.plugin.json +39 -5
- package/package.json +8 -7
package/README.md
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
# @openclaw/llama-cpp-provider
|
|
2
2
|
|
|
3
|
-
Official llama.cpp
|
|
3
|
+
Official llama.cpp provider for managed and external OpenClaw model servers.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
`
|
|
5
|
+
The `llama-cpp` provider either installs a pinned, integrity-verified
|
|
6
|
+
`llama-server` under OpenClaw's `localService` supervisor or connects to a
|
|
7
|
+
server that you already operate. Both choices use `llama-cpp/<model>` references
|
|
8
|
+
and OpenClaw's normal OpenAI-compatible chat transport. Local embeddings require
|
|
9
|
+
the managed choice.
|
|
7
10
|
|
|
8
11
|
## Install
|
|
9
12
|
|
|
@@ -11,33 +14,42 @@ This plugin runs local GGUF chat and embedding models in-process through
|
|
|
11
14
|
openclaw plugins install @openclaw/llama-cpp-provider
|
|
12
15
|
```
|
|
13
16
|
|
|
14
|
-
Restart the Gateway after installing or updating the plugin.
|
|
15
|
-
|
|
17
|
+
Restart the Gateway after installing or updating the plugin. Interactive setup
|
|
18
|
+
shows **Managed local server** and **Existing llama-server** under one
|
|
19
|
+
**Local llama.cpp** group.
|
|
16
20
|
|
|
17
|
-
## Configure text inference
|
|
21
|
+
## Configure managed text inference
|
|
18
22
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
The
|
|
22
|
-
|
|
23
|
+
After explicit consent, OpenClaw installs the matching server build and
|
|
24
|
+
downloads Gemma 4 E4B IT Q4_K_M (approximately 5.0 GB) plus EmbeddingGemma
|
|
25
|
+
(approximately 0.3 GB). The default chat download is offered only on machines
|
|
26
|
+
with at least 16 GiB of RAM.
|
|
23
27
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
remain available on any machine.
|
|
28
|
+
Custom GGUF models remain supported through `params.modelPath`. Rerun llama.cpp
|
|
29
|
+
setup after changing the model so OpenClaw can verify the file and regenerate
|
|
30
|
+
the managed router preset.
|
|
28
31
|
|
|
29
32
|
See the [llama.cpp provider guide](https://docs.openclaw.ai/plugins/llama-cpp)
|
|
30
|
-
for custom GGUF
|
|
33
|
+
for platform requirements, custom GGUF configuration, diagnostics, and repair.
|
|
34
|
+
|
|
35
|
+
## Connect to an existing server
|
|
36
|
+
|
|
37
|
+
Choose **Existing llama-server** during setup and enter the endpoint and
|
|
38
|
+
optional API key. OpenClaw passively discovers single-model and router catalogs.
|
|
39
|
+
It never installs, starts, stops, or reconfigures the external process.
|
|
40
|
+
|
|
41
|
+
See the [llama.cpp provider guide](https://docs.openclaw.ai/plugins/llama-cpp)
|
|
42
|
+
for authentication, router behavior, manual configuration, and troubleshooting.
|
|
31
43
|
|
|
32
44
|
## Configure embeddings
|
|
33
45
|
|
|
34
|
-
Set `memory.search.provider` to `local`.
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
Face model URI, or HTTPS model URL.
|
|
46
|
+
Set `memory.search.provider` to `local`. The plugin preserves the historical
|
|
47
|
+
`local` embedding provider and index identity while serving requests through
|
|
48
|
+
the managed server's `/v1/embeddings` endpoint.
|
|
38
49
|
|
|
39
50
|
## Package
|
|
40
51
|
|
|
41
52
|
- Plugin id: `llama-cpp`
|
|
53
|
+
- Provider id: `llama-cpp`
|
|
42
54
|
- Package: `@openclaw/llama-cpp-provider`
|
|
43
55
|
- Minimum OpenClaw host: `2026.6.2`
|