From d2d50aaae1012b952166d093fdd56dd99beef23f Mon Sep 17 00:00:00 2001 From: Aiden Cline <63023139+rekram1-node@users.noreply.github.com> Date: Thu, 8 Oct 2026 23:10:53 -0500 Subject: [PATCH] fix(core): shorten Bedrock profile picker copy (#54055) --- packages/core/src/plugin/provider/amazon-bedrock.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/packages/core/src/plugin/provider/amazon-bedrock.ts b/packages/core/src/plugin/provider/amazon-bedrock.ts index e7838b4402d..d0a73dd8255 100644 --- a/packages/core/src/plugin/provider/amazon-bedrock.ts +++ b/packages/core/src/plugin/provider/amazon-bedrock.ts @@ -45,9 +45,6 @@ export const AmazonBedrockPlugin = define({ ) .filter(Boolean) .toSorted() - const sources = paths - .map((file) => (file.startsWith(Global.Path.home + path.sep) ? `~${file.slice(Global.Path.home.length)}` : file)) - .join(" and ") yield* ctx.integration.transform((editor) => { // models.dev advertises AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and // AWS_REGION alongside the bearer token. Only the bearer token is a key; @@ -72,8 +69,8 @@ export const AmazonBedrockPlugin = define({ type: "string", title: "AWS profile", description: profiles.length - ? `Found ${profiles.length} profile${profiles.length === 1 ? "" : "s"} in ${sources} on the server.` - : `No AWS profiles found in ${sources} on the server.`, + ? `Found ${profiles.length} profile${profiles.length === 1 ? "" : "s"} in your AWS configuration.` + : "No profiles found in your AWS configuration.", required: true, minLength: 1, pattern: "\\S",