@openclaw/amazon-bedrock-provider 2026.8.2 → 2026.8.33

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.
@@ -640,9 +640,28 @@ function convertMessages(context, model, cacheRetention) {
640
640
  j++;
641
641
  }
642
642
  i = j - 1;
643
+ const attachedImages = [];
644
+ const userContent = model.id.includes("openai.gpt-5.6-sol") ? toolResults.map((block) => {
645
+ const images = [];
646
+ const content = (block.toolResult.content ?? []).filter((part) => {
647
+ if (part.image) {
648
+ images.push({ image: part.image });
649
+ return false;
650
+ }
651
+ return true;
652
+ });
653
+ if (images.length === 0) return block;
654
+ const label = `Images from tool result ${block.toolResult.toolUseId}`;
655
+ attachedImages.push({ text: `${label}:` }, ...images);
656
+ return { toolResult: {
657
+ ...block.toolResult,
658
+ content: [...content, { text: `(see attached images labeled "${label}")` }]
659
+ } };
660
+ }) : toolResults;
661
+ userContent.push(...attachedImages);
643
662
  result.push({
644
663
  role: ConversationRole.USER,
645
- content: toolResults
664
+ content: userContent
646
665
  });
647
666
  break;
648
667
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/amazon-bedrock-provider",
3
- "version": "2026.8.2",
3
+ "version": "2026.8.33",
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.2"
28
+ "pluginApi": ">=2026.8.33"
29
29
  },
30
30
  "build": {
31
- "openclawVersion": "2026.8.2",
31
+ "openclawVersion": "2026.8.33",
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.2"
48
+ "openclaw": ">=2026.8.33"
49
49
  },
50
50
  "peerDependenciesMeta": {
51
51
  "openclaw": {