bedrock-sdk-v1.1.3
Anthropic's Bedrock SDK v1.1.3 fixes user profile ID handling by moving it from the header into the request body, which now causes 400 errors if passed to unsupported models.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
In bedrock-sdk-v1.1.3, Anthropic fixed an issue where Amazon Bedrock ignored the anthropic-user-profile-id header. The SDK now injects the profile ID directly into the request body for Messages requests and deprecates the header format, prioritizing any ID already present in the body. As a result of Bedrock processing this field properly, requests to Bedrock models that lack support for user profiles will now fail with a 400 error instead of silently ignoring the identifier.
可执行摘要
Anthropic TypeScript SDK release bedrock-sdk-v1.1.3 relocates user profile ID into the Messages request body instead of the ignored header. Passing a profile ID to unsupported Bedrock models now returns a 400 error rather than silently failing.
- Agent 实用度
- 77/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Ensure user profile IDs are omitted when targeting Bedrock models that do not support user profiles to prevent 400 Bad Request errors.
- Verify that any manually passed user profile IDs in the request body match intended behavior, as they take precedence over SDK configuration.