mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-14 23:21:19 +00:00
feat: add bedrock application inference profile (#1938)
This commit is contained in:
parent
cc2420ea1a
commit
2985172c61
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ import { logger } from "../../utils/logging"
|
|||
function validateBedrockArn(arn: string, region?: string) {
|
||||
// Validate ARN format
|
||||
const arnRegex =
|
||||
/^arn:aws:bedrock:([^:]+):(\d+):(foundation-model|provisioned-model|default-prompt-router|prompt-router)\/(.+)$/
|
||||
/^arn:aws:bedrock:([^:]+):(\d+):(foundation-model|provisioned-model|default-prompt-router|prompt-router|application-inference-profile)\/(.+)$/
|
||||
const match = arn.match(arnRegex)
|
||||
|
||||
if (!match) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue