From 14f140d6f0d31fed802869622c38c7e8f8e19587 Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Tue, 28 Apr 2026 13:39:33 -0700 Subject: [PATCH] docs(providers/bedrock): document Opus 4.7 temperature omission For 771846c5fa: docs/providers/bedrock.md "Advanced configuration" now includes a "Claude Opus 4.7 temperature" accordion describing that OpenClaw automatically omits `temperature` for Opus 4.7 Bedrock refs (foundation model ids, named profiles, application inference profiles whose underlying model resolves to Opus 4.7, and dotted `opus-4.7` variants with regional prefixes), since Bedrock rejects the parameter on that model. The fix has no user-facing knob, but Opus 4.7 Bedrock users need to know the request shape changes silently. --- docs/providers/bedrock.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/providers/bedrock.md b/docs/providers/bedrock.md index 1f989de274e..7f2f6b8f0cc 100644 --- a/docs/providers/bedrock.md +++ b/docs/providers/bedrock.md @@ -256,6 +256,17 @@ openclaw models list + + Bedrock rejects the `temperature` parameter for Claude Opus 4.7. OpenClaw + omits `temperature` automatically for any Opus 4.7 Bedrock ref, including + foundation model ids, named inference profiles, application inference + profiles whose underlying model resolves to Opus 4.7 via + `bedrock:GetInferenceProfile`, and dotted `opus-4.7` variants with + optional region prefixes (`us.`, `eu.`, `ap.`, `apac.`, `au.`, `jp.`, + `global.`). No config knob is required, and the omission applies to both + the request options object and the `inferenceConfig` payload field. + + You can apply [Amazon Bedrock Guardrails](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html) to all Bedrock model invocations by adding a `guardrail` object to the