@openclaw/amazon-bedrock-provider 2026.8.1 → 2026.8.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/discovery.js
CHANGED
|
@@ -162,7 +162,8 @@ function resolveDefaultMaxTokens(config) {
|
|
|
162
162
|
}
|
|
163
163
|
function matchesProviderFilter(summary, filter) {
|
|
164
164
|
if (filter.length === 0) return true;
|
|
165
|
-
const
|
|
165
|
+
const providerName = summary.providerName ?? (typeof summary.modelId === "string" ? summary.modelId.split(".")[0] : void 0);
|
|
166
|
+
const normalized = normalizeOptionalLowercaseString(providerName);
|
|
166
167
|
if (!normalized) return false;
|
|
167
168
|
return filter.includes(normalized);
|
|
168
169
|
}
|
|
@@ -319,10 +319,12 @@ function registerAmazonBedrockPlugin(api) {
|
|
|
319
319
|
streamFn
|
|
320
320
|
})) ?? void 0;
|
|
321
321
|
const serviceTier = resolveBedrockServiceTier(extraParams, (message) => api.logger.warn(message));
|
|
322
|
-
if (serviceTier && wrapped)
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
322
|
+
if (serviceTier && wrapped) {
|
|
323
|
+
if ((fable5 || opus5 || sonnet5) && serviceTier !== "default") {
|
|
324
|
+
const modelLabel = fable5 ? "Fable 5" : opus5 ? "Opus 5" : "Sonnet 5";
|
|
325
|
+
api.logger.warn(`ignoring unsupported ${modelLabel} Bedrock service tier: ${serviceTier}`);
|
|
326
|
+
} else wrapped = createBedrockServiceTierWrapper(wrapped, serviceTier);
|
|
327
|
+
}
|
|
326
328
|
const region = resolveBedrockRegion(config) ?? extractRegionFromBaseUrl(model?.baseUrl) ?? currentPluginConfig?.discovery?.region;
|
|
327
329
|
const mayNeedCacheInjection = isBedrockAppInferenceProfile(modelId) && !sharedRuntimeWouldInjectCachePoints(modelId);
|
|
328
330
|
const shouldOmitTemperature = opus47OrNewer || fable5 || isLatestAdaptiveBedrockModelRef(modelId, model?.params);
|
package/dist/stream.runtime.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/amazon-bedrock-provider",
|
|
3
|
-
"version": "2026.8.
|
|
3
|
+
"version": "2026.8.2",
|
|
4
4
|
"description": "OpenClaw Amazon Bedrock provider plugin with model discovery, embeddings, and guardrail support.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"minHostVersion": ">=2026.5.12-beta.1"
|
|
26
26
|
},
|
|
27
27
|
"compat": {
|
|
28
|
-
"pluginApi": ">=2026.8.
|
|
28
|
+
"pluginApi": ">=2026.8.2"
|
|
29
29
|
},
|
|
30
30
|
"build": {
|
|
31
|
-
"openclawVersion": "2026.8.
|
|
31
|
+
"openclawVersion": "2026.8.2",
|
|
32
32
|
"bundledDist": false
|
|
33
33
|
},
|
|
34
34
|
"release": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"README.md"
|
|
46
46
|
],
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"openclaw": ">=2026.8.
|
|
48
|
+
"openclaw": ">=2026.8.2"
|
|
49
49
|
},
|
|
50
50
|
"peerDependenciesMeta": {
|
|
51
51
|
"openclaw": {
|