@openclaw/baseten-provider 2026.9.1-beta.1 → 2026.9.2
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/api.js +1 -1
- package/dist/index.js +2 -2
- package/dist/{models-DnU_UmMe.js → models-KN-wJGgM.js} +5 -8
- package/dist/models.js +1 -1
- package/dist/onboard.js +1 -1
- package/dist/provider-catalog.js +1 -1
- package/dist/stream.js +1 -1
- package/dist/thinking.js +1 -1
- package/openclaw.plugin.json +3 -0
- package/package.json +4 -4
package/dist/api.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as buildBasetenModelCompat, c as resolveBasetenDynamicModel, i as BASETEN_MODEL_CATALOG, l as usesBasetenChatTemplateThinking, n as BASETEN_DEFAULT_MODEL_ID, o as buildStaticBasetenModels, r as BASETEN_DEFAULT_MODEL_REF, t as BASETEN_BASE_URL } from "./models-
|
|
1
|
+
import { a as buildBasetenModelCompat, c as resolveBasetenDynamicModel, i as BASETEN_MODEL_CATALOG, l as usesBasetenChatTemplateThinking, n as BASETEN_DEFAULT_MODEL_ID, o as buildStaticBasetenModels, r as BASETEN_DEFAULT_MODEL_REF, t as BASETEN_BASE_URL } from "./models-KN-wJGgM.js";
|
|
2
2
|
import { applyBasetenConfig } from "./onboard.js";
|
|
3
3
|
import { buildStaticBasetenProvider } from "./provider-catalog.js";
|
|
4
4
|
export { BASETEN_BASE_URL, BASETEN_DEFAULT_MODEL_ID, BASETEN_DEFAULT_MODEL_REF, BASETEN_MODEL_CATALOG, applyBasetenConfig, buildBasetenModelCompat, buildStaticBasetenModels, buildStaticBasetenProvider, resolveBasetenDynamicModel, usesBasetenChatTemplateThinking };
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as resolveBasetenDynamicModel, s as projectBasetenLiveModels, u as openclaw_plugin_default } from "./models-
|
|
1
|
+
import { c as resolveBasetenDynamicModel, s as projectBasetenLiveModels, u as openclaw_plugin_default } from "./models-KN-wJGgM.js";
|
|
2
2
|
import { applyBasetenConfig } from "./onboard.js";
|
|
3
3
|
import { buildStaticBasetenProvider } from "./provider-catalog.js";
|
|
4
4
|
import { createBasetenThinkingWrapper } from "./stream.js";
|
|
@@ -38,7 +38,7 @@ var baseten_default = defineSingleProviderPluginEntry({
|
|
|
38
38
|
discoveryApiKey,
|
|
39
39
|
modelDiscovery: {
|
|
40
40
|
timeoutMs: 1e4,
|
|
41
|
-
ttlMs:
|
|
41
|
+
ttlMs: 3e5,
|
|
42
42
|
projectRows: projectBasetenLiveModels
|
|
43
43
|
}
|
|
44
44
|
}) };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { buildManifestModelProviderConfig, readManifestProviderDefaultModelRef } from "openclaw/plugin-sdk/provider-catalog-shared";
|
|
2
2
|
import { asNonArrayRecord, filterStringEntries } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
3
3
|
//#region extensions/baseten/openclaw.plugin.json
|
|
4
4
|
var openclaw_plugin_default = {
|
|
@@ -13,6 +13,7 @@ var openclaw_plugin_default = {
|
|
|
13
13
|
"openAICompletions": { "supportsStreamingUsage": true }
|
|
14
14
|
} } },
|
|
15
15
|
modelCatalog: {
|
|
16
|
+
"modelsDev": { "baseten": "baseten" },
|
|
16
17
|
"providers": { "baseten": {
|
|
17
18
|
"baseUrl": "https://inference.baseten.co/v1",
|
|
18
19
|
"api": "openai-completions",
|
|
@@ -268,14 +269,10 @@ function buildBasetenModelCompat(modelId) {
|
|
|
268
269
|
}
|
|
269
270
|
/** Builds the network-free fallback catalog. */
|
|
270
271
|
function buildStaticBasetenModels() {
|
|
271
|
-
return
|
|
272
|
+
return buildManifestModelProviderConfig({
|
|
272
273
|
providerId: "baseten",
|
|
273
|
-
catalog: BASETEN_MANIFEST_CATALOG
|
|
274
|
-
|
|
275
|
-
...normalized,
|
|
276
|
-
compat: buildBasetenModelCompat(normalized.id)
|
|
277
|
-
})
|
|
278
|
-
}));
|
|
274
|
+
catalog: BASETEN_MANIFEST_CATALOG
|
|
275
|
+
}).models.map((model) => Object.assign(model, { compat: buildBasetenModelCompat(model.id) }));
|
|
279
276
|
}
|
|
280
277
|
function readPositiveInteger(value) {
|
|
281
278
|
const number = typeof value === "number" ? value : Number(value);
|
package/dist/models.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as buildBasetenModelCompat, c as resolveBasetenDynamicModel, i as BASETEN_MODEL_CATALOG, l as usesBasetenChatTemplateThinking, n as BASETEN_DEFAULT_MODEL_ID, o as buildStaticBasetenModels, r as BASETEN_DEFAULT_MODEL_REF, s as projectBasetenLiveModels, t as BASETEN_BASE_URL } from "./models-
|
|
1
|
+
import { a as buildBasetenModelCompat, c as resolveBasetenDynamicModel, i as BASETEN_MODEL_CATALOG, l as usesBasetenChatTemplateThinking, n as BASETEN_DEFAULT_MODEL_ID, o as buildStaticBasetenModels, r as BASETEN_DEFAULT_MODEL_REF, s as projectBasetenLiveModels, t as BASETEN_BASE_URL } from "./models-KN-wJGgM.js";
|
|
2
2
|
export { BASETEN_BASE_URL, BASETEN_DEFAULT_MODEL_ID, BASETEN_DEFAULT_MODEL_REF, BASETEN_MODEL_CATALOG, buildBasetenModelCompat, buildStaticBasetenModels, projectBasetenLiveModels, resolveBasetenDynamicModel, usesBasetenChatTemplateThinking };
|
package/dist/onboard.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as buildStaticBasetenModels, r as BASETEN_DEFAULT_MODEL_REF, t as BASETEN_BASE_URL } from "./models-
|
|
1
|
+
import { o as buildStaticBasetenModels, r as BASETEN_DEFAULT_MODEL_REF, t as BASETEN_BASE_URL } from "./models-KN-wJGgM.js";
|
|
2
2
|
import { createModelCatalogPresetAppliers } from "openclaw/plugin-sdk/provider-onboard";
|
|
3
3
|
//#region extensions/baseten/onboard.ts
|
|
4
4
|
/** Baseten onboarding config helpers. */
|
package/dist/provider-catalog.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as buildStaticBasetenModels, t as BASETEN_BASE_URL } from "./models-
|
|
1
|
+
import { o as buildStaticBasetenModels, t as BASETEN_BASE_URL } from "./models-KN-wJGgM.js";
|
|
2
2
|
//#region extensions/baseten/provider-catalog.ts
|
|
3
3
|
/** Builds Baseten's network-free fallback provider catalog. */
|
|
4
4
|
function buildStaticBasetenProvider() {
|
package/dist/stream.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as usesBasetenChatTemplateThinking } from "./models-
|
|
1
|
+
import { l as usesBasetenChatTemplateThinking } from "./models-KN-wJGgM.js";
|
|
2
2
|
import { asNonArrayRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
3
3
|
import { createPayloadPatchStreamWrapper, normalizeOpenAICompatibleReasoningReplay } from "openclaw/plugin-sdk/provider-stream-shared";
|
|
4
4
|
//#region extensions/baseten/stream.ts
|
package/dist/thinking.js
CHANGED
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/baseten-provider",
|
|
3
|
-
"version": "2026.9.
|
|
3
|
+
"version": "2026.9.2",
|
|
4
4
|
"description": "OpenClaw Baseten provider plugin.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"minHostVersion": ">=2026.7.2"
|
|
19
19
|
},
|
|
20
20
|
"compat": {
|
|
21
|
-
"pluginApi": ">=2026.9.
|
|
21
|
+
"pluginApi": ">=2026.9.2"
|
|
22
22
|
},
|
|
23
23
|
"build": {
|
|
24
|
-
"openclawVersion": "2026.9.
|
|
24
|
+
"openclawVersion": "2026.9.2",
|
|
25
25
|
"bundledDist": false
|
|
26
26
|
},
|
|
27
27
|
"release": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"README.md"
|
|
39
39
|
],
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"openclaw": ">=2026.9.
|
|
41
|
+
"openclaw": ">=2026.9.2"
|
|
42
42
|
},
|
|
43
43
|
"peerDependenciesMeta": {
|
|
44
44
|
"openclaw": {
|