@openclaw/llama-cpp-provider 2026.9.3 → 2026.9.4
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/dist/index.js +4 -3
- package/openclaw.plugin.json +1 -0
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1851,8 +1851,9 @@ function buildSetupResult$1(params) {
|
|
|
1851
1851
|
}
|
|
1852
1852
|
};
|
|
1853
1853
|
}
|
|
1854
|
-
async function removeDefaultAuthProfile(agentDir) {
|
|
1854
|
+
async function removeDefaultAuthProfile(config, agentDir) {
|
|
1855
1855
|
if (!await removeProviderAuthProfilesWithLock({
|
|
1856
|
+
cfg: config,
|
|
1856
1857
|
agentDir,
|
|
1857
1858
|
provider: "llama-cpp",
|
|
1858
1859
|
profileIds: [LLAMA_CPP_DEFAULT_PROFILE_ID]
|
|
@@ -1982,7 +1983,7 @@ async function runLlamaServerSetup(ctx) {
|
|
|
1982
1983
|
if (discovery.kind !== "success") throw new Error(describeDiscoveryFailure(discovery));
|
|
1983
1984
|
const modelId = selectSetupModelId(discovery);
|
|
1984
1985
|
if (!modelId) throw new Error(`No llama-server text models were found at ${discovery.endpoint.origin}.`);
|
|
1985
|
-
if (persistence.kind === "remove") await removeDefaultAuthProfile(ctx.agentDir);
|
|
1986
|
+
if (persistence.kind === "remove") await removeDefaultAuthProfile(ctx.config, ctx.agentDir);
|
|
1986
1987
|
return buildSetupResult$1({
|
|
1987
1988
|
config: ctx.config,
|
|
1988
1989
|
discovery,
|
|
@@ -2099,7 +2100,7 @@ async function configureLlamaServerNonInteractive(ctx) {
|
|
|
2099
2100
|
mode: "api_key"
|
|
2100
2101
|
});
|
|
2101
2102
|
} else if (validated.persistence.kind === "remove") {
|
|
2102
|
-
await removeDefaultAuthProfile(ctx.agentDir);
|
|
2103
|
+
await removeDefaultAuthProfile(ctx.config, ctx.agentDir);
|
|
2103
2104
|
config = removeAuthProfileConfig(config, LLAMA_CPP_DEFAULT_PROFILE_ID);
|
|
2104
2105
|
}
|
|
2105
2106
|
ctx.runtime.log(`Default ${LLAMA_CPP_PROVIDER_LABEL} model: ${validated.modelId}`);
|
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/llama-cpp-provider",
|
|
3
|
-
"version": "2026.9.
|
|
3
|
+
"version": "2026.9.4",
|
|
4
4
|
"description": "OpenClaw provider for managed and external llama.cpp servers",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"minHostVersion": ">=2026.6.2"
|
|
21
21
|
},
|
|
22
22
|
"compat": {
|
|
23
|
-
"pluginApi": ">=2026.9.
|
|
23
|
+
"pluginApi": ">=2026.9.4"
|
|
24
24
|
},
|
|
25
25
|
"build": {
|
|
26
|
-
"openclawVersion": "2026.9.
|
|
26
|
+
"openclawVersion": "2026.9.4"
|
|
27
27
|
},
|
|
28
28
|
"release": {
|
|
29
29
|
"bundleRuntimeDependencies": false,
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"README.md"
|
|
41
41
|
],
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"openclaw": ">=2026.9.
|
|
43
|
+
"openclaw": ">=2026.9.4"
|
|
44
44
|
},
|
|
45
45
|
"peerDependenciesMeta": {
|
|
46
46
|
"openclaw": {
|