Skip to content

Commit 4e4c8d7

Browse files
committed
chore: update "AWS Bedrock" to "Amazon Bedrock" in all locales and code files
1 parent e356ea7 commit 4e4c8d7

File tree

22 files changed

+30
-30
lines changed

22 files changed

+30
-30
lines changed

packages/types/src/providers/bedrock.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ export const BEDROCK_MAX_TOKENS = 4096
360360

361361
export const BEDROCK_DEFAULT_CONTEXT = 128_000
362362

363-
// AWS Bedrock Inference Profile mapping based on official documentation
363+
// Amazon Bedrock Inference Profile mapping based on official documentation
364364
// https://docs.aws.amazon.com/bedrock/latest/userguide/inference-profiles-support.html
365365
// This mapping is pre-ordered by pattern length (descending) to ensure more specific patterns match first
366366
export const AWS_INFERENCE_PROFILE_MAPPING: Array<[string, string]> = [
@@ -378,7 +378,7 @@ export const AWS_INFERENCE_PROFILE_MAPPING: Array<[string, string]> = [
378378
["sa-", "sa."],
379379
]
380380

381-
// AWS Bedrock supported regions for the regions dropdown
381+
// Amazon Bedrock supported regions for the regions dropdown
382382
// Based on official AWS documentation
383383
export const BEDROCK_REGIONS = [
384384
{ value: "us-east-1", label: "us-east-1" },

src/api/providers/__tests__/bedrock-inference-profiles.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ vitest.mock("@aws-sdk/client-bedrock-runtime", () => {
1616
}
1717
})
1818

19-
describe("AWS Bedrock Inference Profiles", () => {
19+
describe("Amazon Bedrock Inference Profiles", () => {
2020
// Helper function to create a handler with specific options
2121
const createHandler = (options: Partial<ApiHandlerOptions> = {}) => {
2222
const defaultOptions: ApiHandlerOptions = {

src/api/providers/__tests__/bedrock-vpc-endpoint.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import { BedrockRuntimeClient } from "@aws-sdk/client-bedrock-runtime"
2929
// Get access to the mocked functions
3030
const mockBedrockRuntimeClient = vi.mocked(BedrockRuntimeClient)
3131

32-
describe("AWS Bedrock VPC Endpoint Functionality", () => {
32+
describe("Amazon Bedrock VPC Endpoint Functionality", () => {
3333
beforeEach(() => {
3434
// Clear all mocks before each test
3535
vi.clearAllMocks()

src/api/providers/bedrock.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1082,7 +1082,7 @@ Please verify:
10821082
"throttl",
10831083
"rate",
10841084
"limit",
1085-
"bedrock is unable to process your request", // AWS Bedrock specific throttling message
1085+
"bedrock is unable to process your request", // Amazon Bedrock specific throttling message
10861086
"please wait",
10871087
"quota exceeded",
10881088
"service unavailable",
@@ -1128,7 +1128,7 @@ Suggestions:
11281128
Please try:
11291129
1. Contact AWS support to request a quota increase
11301130
2. Reduce request frequency temporarily
1131-
3. Check your AWS Bedrock quotas in the AWS console
1131+
3. Check your Amazon Bedrock quotas in the AWS console
11321132
4. Consider using a different model or region with available capacity
11331133
11341134
`,
@@ -1143,15 +1143,15 @@ Please try:
11431143
11441144
Please try:
11451145
1. Wait a few minutes and retry
1146-
2. Check the model status in AWS Bedrock console
1146+
2. Check the model status in Amazon Bedrock console
11471147
3. Verify the model is properly provisioned
11481148
11491149
`,
11501150
logLevel: "error",
11511151
},
11521152
INTERNAL_SERVER_ERROR: {
11531153
patterns: ["internal server error", "internal error", "server error", "service error"],
1154-
messageTemplate: `AWS Bedrock internal server error. This is a temporary service issue.
1154+
messageTemplate: `Amazon Bedrock internal server error. This is a temporary service issue.
11551155
11561156
Please try:
11571157
1. Retry the request after a brief delay
@@ -1188,7 +1188,7 @@ Please try:
11881188
],
11891189
messageTemplate: `Parameter validation error: {errorMessage}
11901190
1191-
This error indicates that the request parameters don't match AWS Bedrock's expected format.
1191+
This error indicates that the request parameters don't match Amazon Bedrock's expected format.
11921192
11931193
Common causes:
11941194
1. Extended thinking parameter format is incorrect
@@ -1197,7 +1197,7 @@ Common causes:
11971197
11981198
Please check:
11991199
- Model supports the requested features (extended thinking, etc.)
1200-
- Parameter format matches AWS Bedrock specification
1200+
- Parameter format matches Amazon Bedrock specification
12011201
- Model ID is correct for the requested features`,
12021202
logLevel: "error",
12031203
},
@@ -1222,7 +1222,7 @@ Please check:
12221222
return "THROTTLING"
12231223
}
12241224

1225-
// Check for AWS Bedrock specific throttling exception names
1225+
// Check for Amazon Bedrock specific throttling exception names
12261226
if ((error as any).name === "ThrottlingException" || (error as any).__type === "ThrottlingException") {
12271227
return "THROTTLING"
12281228
}

webview-ui/src/i18n/locales/ca/settings.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui/src/i18n/locales/de/settings.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui/src/i18n/locales/en/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@
274274
"litellmBaseUrl": "LiteLLM Base URL",
275275
"awsCredentials": "AWS Credentials",
276276
"awsProfile": "AWS Profile",
277-
"awsApiKey": "AWS Bedrock API Key",
277+
"awsApiKey": "Amazon Bedrock API Key",
278278
"awsProfileName": "AWS Profile Name",
279279
"awsAccessKey": "AWS Access Key",
280280
"awsSecretKey": "AWS Secret Key",

webview-ui/src/i18n/locales/es/settings.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui/src/i18n/locales/fr/settings.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui/src/i18n/locales/hi/settings.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)