Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ object CodeWhispererConstants {

object Config {
val CODEWHISPERER_ENDPOINT
get() = Registry.get("amazon.q.endpoint").asString()
get() = System.getenv("__CODEWHISPERER_ENDPOINT") ?: Registry.get("amazon.q.endpoint").asString()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note that we will likely change the semantics of how this works, due to other ongoing initiatives involving the service endpoint

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noted. Once we roll out the new implementation, we should make sure to include this change - it'll affect how Q teams run UI tests in their pipelines.


const val CODEWHISPERER_IDPOOL_ID = "us-east-1:70717e99-906f-4add-908c-bd9074a2f5b9"
val Sigv4ClientRegion = Region.US_EAST_1
Expand Down
Loading