@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 CHANGED
@@ -1,9 +1,12 @@
1
1
  # @openclaw/llama-cpp-provider
2
2
 
3
- Official llama.cpp text-inference and embedding provider for OpenClaw.
3
+ Official llama.cpp provider for managed and external OpenClaw model servers.
4
4
 
5
- This plugin runs local GGUF chat and embedding models in-process through
6
- `node-llama-cpp`.
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. Use Node 24 for
15
- native installs and updates.
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
- Choose **Local model (llama.cpp)** during onboarding. After explicit consent,
20
- OpenClaw downloads Gemma 4 E4B IT Q4_K_M (approximately 5.0 GB) as the default.
21
- The bundled download is offered only on machines with at least 16 GiB of RAM.
22
- Discovery never downloads a model.
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
- On smaller machines, use Ollama or LM Studio with a smaller model, use a cloud
25
- provider, or configure any custom GGUF through `params.modelPath`. The 16 GiB
26
- gate applies only to OpenClaw's bundled default download; custom GGUF models
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 model configuration and hardware guidance.
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`. By default, the plugin
35
- downloads and uses the EmbeddingGemma GGUF model. Configure
36
- `memory.search.local.modelPath` to use another local path, Hugging
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`