picoclaw/pkg/providers/bedrock
Andy Lo-A-Foe 5a997a86f0
fix(bedrock): drop temperature for models that deprecate it
Claude Opus 4.8 on Bedrock rejects the temperature inference parameter
with a ValidationException ("temperature is deprecated for this model").
buildConverseParams now takes the model id and omits temperature for
claude-opus-4-8* (matching both bare model ids and region-prefixed
inference profiles), logging when it does so. max_tokens and all other
models are unaffected.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-01 08:59:15 +02:00
..
provider_bedrock.go fix(bedrock): drop temperature for models that deprecate it 2026-06-01 08:59:15 +02:00
provider_bedrock_test.go fix(bedrock): drop temperature for models that deprecate it 2026-06-01 08:59:15 +02:00
provider_stub.go feat(providers): add AWS Bedrock provider (#1903) 2026-03-24 01:10:56 +08:00
provider_stub_test.go feat(providers): add AWS Bedrock provider (#1903) 2026-03-24 01:10:56 +08:00