Skip to content

Commit

Permalink
Merge master into feature/emr
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-toolkit-automation authored Nov 26, 2024
2 parents c9f5ba5 + 61d67f8 commit 184adcf
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ import { getHttpStatusCode, AwsClientResponseError } from '../../../shared/error
import { uiEventRecorder } from '../../../amazonq/util/eventRecorder'
import { globals, waitUntil } from '../../../shared'
import { telemetry } from '../../../shared/telemetry'
import { Auth } from '../../../auth'
import { isSsoConnection } from '../../../auth/connection'
import { inspect } from '../../../shared/utilities/collectionUtils'

Expand Down Expand Up @@ -633,11 +632,7 @@ export class ChatController {
this.messenger.sendOpenSettingsMessage(triggerID, tabID)
return
}
}
// if user does not have @workspace in the prompt, but user is Amazon internal
// add project context by default
else if (
Auth.instance.isInternalAmazonUser() &&
} else if (
!LspController.instance.isIndexingInProgress() &&
CodeWhispererSettings.instance.isLocalIndexEnabled()
) {
Expand Down

0 comments on commit 184adcf

Please sign in to comment.