Skip to content

Commit 61d67f8

Browse files
authored
config(amazonq): enable implicit project context ab test for broader users (#6098)
## Problem enable implicit workspace ab test for broader groups of users but not only internal users ## Solution remove isInternalUser predicate
1 parent 6a4a746 commit 61d67f8

File tree

1 file changed

+1
-6
lines changed
  • packages/core/src/codewhispererChat/controllers/chat

1 file changed

+1
-6
lines changed

packages/core/src/codewhispererChat/controllers/chat/controller.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ import { getHttpStatusCode, AwsClientResponseError } from '../../../shared/error
5151
import { uiEventRecorder } from '../../../amazonq/util/eventRecorder'
5252
import { globals, waitUntil } from '../../../shared'
5353
import { telemetry } from '../../../shared/telemetry'
54-
import { Auth } from '../../../auth'
5554
import { isSsoConnection } from '../../../auth/connection'
5655
import { inspect } from '../../../shared/utilities/collectionUtils'
5756

@@ -633,11 +632,7 @@ export class ChatController {
633632
this.messenger.sendOpenSettingsMessage(triggerID, tabID)
634633
return
635634
}
636-
}
637-
// if user does not have @workspace in the prompt, but user is Amazon internal
638-
// add project context by default
639-
else if (
640-
Auth.instance.isInternalAmazonUser() &&
635+
} else if (
641636
!LspController.instance.isIndexingInProgress() &&
642637
CodeWhispererSettings.instance.isLocalIndexEnabled()
643638
) {

0 commit comments

Comments
 (0)