Skip to content

Commit 7aaf6b3

Browse files
small updates to error message
1 parent 56e13e6 commit 7aaf6b3

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/api/providers/bedrock.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -777,10 +777,7 @@ export class AwsBedrockHandler extends BaseProvider implements SingleCompletionH
777777
1. The ARN is correct and points to a valid model
778778
2. Your AWS credentials have permission to access this model (check IAM policies)
779779
3. The region in the ARN {regionInfo} matches the region where the model is deployed
780-
4. If using a provisioned model, ensure it's active and not in a failed state{customModelInfo}
781-
782-
{errorDetails}
783-
`,
780+
4. If using a provisioned model, ensure it's active and not in a failed state {customModelInfo}`,
784781
logLevel: "error",
785782
},
786783
NOT_FOUND: {
@@ -789,7 +786,7 @@ export class AwsBedrockHandler extends BaseProvider implements SingleCompletionH
789786
1. The ARN format is correct (arn:aws:bedrock:region:account-id:resource-type/resource-name)
790787
2. The model exists in the specified region
791788
3. The account ID in the ARN is correct
792-
4. The resource type is one of: foundation-model, provisioned-model, or default-prompt-router`,
789+
4. The resource type is one of: inference-profile, provisioned-model, prompt-router, or default-prompt-router`,
793790
logLevel: "error",
794791
},
795792
THROTTLING: {

0 commit comments

Comments
 (0)