bedrock-wrapper 2.6.0 → 2.6.1
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/CHANGELOG.md +1 -1
- package/README.md +5 -5
- package/bedrock-models.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -39,7 +39,7 @@ Bedrock Wrapper is an npm package that simplifies the integration of existing Op
|
|
|
39
39
|
```javascript
|
|
40
40
|
const openaiChatCompletionsCreateObject = {
|
|
41
41
|
"messages": messages,
|
|
42
|
-
"model": "Claude-4
|
|
42
|
+
"model": "Claude-4-5-Sonnet",
|
|
43
43
|
"max_tokens": LLM_MAX_GEN_TOKENS,
|
|
44
44
|
"stream": true,
|
|
45
45
|
"temperature": LLM_TEMPERATURE,
|
|
@@ -126,8 +126,8 @@ Bedrock Wrapper is an npm package that simplifies the integration of existing Op
|
|
|
126
126
|
| Claude-4-1-Opus-Thinking | us.anthropic.claude-opus-4-1-20250805-v1:0 | ✅ |
|
|
127
127
|
| Claude-4-Opus | us.anthropic.claude-opus-4-20250514-v1:0 | ✅ |
|
|
128
128
|
| Claude-4-Opus-Thinking | us.anthropic.claude-opus-4-20250514-v1:0 | ✅ |
|
|
129
|
-
| Claude-4
|
|
130
|
-
| Claude-4
|
|
129
|
+
| Claude-4-5-Sonnet | us.anthropic.claude-sonnet-4-5-20250929-v1:0 | ✅ |
|
|
130
|
+
| Claude-4-5-Sonnet-Thinking | us.anthropic.claude-sonnet-4-5-20250929-v1:0 | ✅ |
|
|
131
131
|
| Claude-4-Sonnet | us.anthropic.claude-sonnet-4-20250514-v1:0 | ✅ |
|
|
132
132
|
| Claude-4-Sonnet-Thinking | us.anthropic.claude-sonnet-4-20250514-v1:0 | ✅ |
|
|
133
133
|
| Claude-3-7-Sonnet-Thinking | us.anthropic.claude-3-7-sonnet-20250219-v1:0 | ✅ |
|
|
@@ -266,7 +266,7 @@ Some AWS Bedrock models have specific parameter restrictions that are automatica
|
|
|
266
266
|
#### Claude 4+ Models (Temperature/Top-P Mutual Exclusion)
|
|
267
267
|
|
|
268
268
|
**Affected Models:**
|
|
269
|
-
- Claude-4
|
|
269
|
+
- Claude-4-5-Sonnet & Claude-4-5-Sonnet-Thinking
|
|
270
270
|
- Claude-4-Sonnet & Claude-4-Sonnet-Thinking
|
|
271
271
|
- Claude-4-Opus & Claude-4-Opus-Thinking
|
|
272
272
|
- Claude-4-1-Opus & Claude-4-1-Opus-Thinking
|
|
@@ -281,7 +281,7 @@ Some AWS Bedrock models have specific parameter restrictions that are automatica
|
|
|
281
281
|
```javascript
|
|
282
282
|
const request = {
|
|
283
283
|
messages: [{ role: "user", content: "Hello" }],
|
|
284
|
-
model: "Claude-4
|
|
284
|
+
model: "Claude-4-5-Sonnet",
|
|
285
285
|
temperature: 0.7, // ✅ Kept
|
|
286
286
|
top_p: 0.9 // ❌ Automatically removed
|
|
287
287
|
};
|
package/bedrock-models.js
CHANGED
|
@@ -130,7 +130,7 @@ export const bedrock_models = [
|
|
|
130
130
|
// =======================
|
|
131
131
|
// == Claude 4.5 Sonnet ==
|
|
132
132
|
// =======================
|
|
133
|
-
"modelName": "Claude-4
|
|
133
|
+
"modelName": "Claude-4-5-Sonnet",
|
|
134
134
|
// "modelId": "anthropic.claude-sonnet-4-5-20250929-v1:0",
|
|
135
135
|
"modelId": "us.anthropic.claude-sonnet-4-5-20250929-v1:0",
|
|
136
136
|
"vision": true,
|
|
@@ -161,7 +161,7 @@ export const bedrock_models = [
|
|
|
161
161
|
// ================================
|
|
162
162
|
// == Claude 4.5 Sonnet Thinking ==
|
|
163
163
|
// ================================
|
|
164
|
-
"modelName": "Claude-4
|
|
164
|
+
"modelName": "Claude-4-5-Sonnet-Thinking",
|
|
165
165
|
// "modelId": "anthropic.claude-sonnet-4-5-20250929-v1:0",
|
|
166
166
|
"modelId": "us.anthropic.claude-sonnet-4-5-20250929-v1:0",
|
|
167
167
|
"vision": true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bedrock-wrapper",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.1",
|
|
4
4
|
"description": "🪨 Bedrock Wrapper is an npm package that simplifies the integration of existing OpenAI-compatible API objects with AWS Bedrock's serverless inference LLMs.",
|
|
5
5
|
"homepage": "https://www.equilllabs.com/projects/bedrock-wrapper",
|
|
6
6
|
"repository": {
|