Skip to content

Commit d929a9c

Browse files
authored
config(amazonq): use external endpoints
1 parent fdcc69a commit d929a9c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/amazonq/test/unit/codewhisperer/region/regionProfileManager.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ describe('RegionProfileManager', function () {
139139
assert.ok(sut.activeRegionProfile)
140140
assert.deepStrictEqual(sut.clientConfig, {
141141
region: 'eu-central-1',
142-
endpoint: 'https://rts.prod-eu-central-1.codewhisperer.ai.aws.dev/',
142+
endpoint: 'https://q.eu-central-1.amazonaws.com/',
143143
})
144144
})
145145

packages/core/src/codewhisperer/region/regionProfileManager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ export const defaultServiceConfig: CodeWhispererConfig = {
3838
// Hack until we have a single discovery endpoint. We will call each endpoint one by one to fetch profile before then.
3939
// TODO: update correct endpoint and region
4040
const endpoints = createConstantMap({
41-
'us-east-1': 'https://codewhisperer.us-east-1.amazonaws.com/',
42-
'eu-central-1': 'https://rts.prod-eu-central-1.codewhisperer.ai.aws.dev/',
41+
'us-east-1': 'https://q.us-east-1.amazonaws.com/',
42+
'eu-central-1': 'https://q.eu-central-1.amazonaws.com/',
4343
})
4444

4545
/**

0 commit comments

Comments
 (0)