Skip to content

Commit 184adcf

Browse files
Merge master into feature/emr
2 parents c9f5ba5 + 61d67f8 commit 184adcf

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)