Skip to content

Commit f1b70a8

Browse files
author
David Hasani
committed
remove log
1 parent ca82e1a commit f1b70a8

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

packages/core/src/auth/connection.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ const warnOnce = onceChanged((s: string, url: string) => {
2828
export const scopesCodeCatalyst = ['codecatalyst:read_write']
2929
export const scopesSsoAccountAccess = ['sso:account:access']
3030
/** These are the non-chat scopes for CW. */
31-
export const scopesCodeWhispererCore = ['codewhisperer:completions', 'codewhisperer:analysis']
32-
export const scopesCodeWhispererChat = ['codewhisperer:conversations']
33-
export const scopesFeatureDev = ['codewhisperer:taskassist']
34-
export const scopesGumby = ['codewhisperer:transformations']
31+
export const scopesCodeWhispererCore = ['codewhisperer_internal:completions', 'codewhisperer_internal:analysis']
32+
export const scopesCodeWhispererChat = ['codewhisperer_internal:conversations']
33+
export const scopesFeatureDev = ['codewhisperer_internal:taskassist']
34+
export const scopesGumby = ['codewhisperer_internal:transformations']
3535

3636
export const defaultSsoRegion = 'us-east-1'
3737

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ import { CachedResource } from '../../shared/utilities/resourceCache'
3434
// TODO: is there a better way to manage all endpoint strings in one place?
3535
export const defaultServiceConfig: CodeWhispererConfig = {
3636
region: 'us-east-1',
37-
endpoint: 'https://codewhisperer.us-east-1.amazonaws.com/',
37+
endpoint: 'https://rts.gamma-us-east-1.codewhisperer.ai.aws.dev/',
3838
}
3939

4040
// Hack until we have a single discovery endpoint. We will call each endpoint one by one to fetch profile before then.
4141
const endpoints = createConstantMap({
42-
'us-east-1': 'https://q.us-east-1.amazonaws.com/',
42+
'us-east-1': 'https://rts.gamma-us-east-1.codewhisperer.ai.aws.dev/',
4343
'eu-central-1': 'https://q.eu-central-1.amazonaws.com/',
4444
})
4545

packages/core/src/codewhisperer/service/transformByQ/transformApiHandler.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -617,8 +617,6 @@ export async function getTransformationPlan(jobId: string, profile: RegionProfil
617617

618618
const stepZeroProgressUpdates = response.transformationPlan.transformationSteps[0].progressUpdates
619619

620-
console.log('stepZeroProgressUpdates', JSON.stringify(stepZeroProgressUpdates))
621-
622620
if (!stepZeroProgressUpdates || stepZeroProgressUpdates.length === 0) {
623621
// means backend API response wrong and table data is missing
624622
throw new Error('No progress updates found in step 0')

0 commit comments

Comments
 (0)