diff --git a/javelin_sdk/client.py b/javelin_sdk/client.py index 2922153..70179ab 100644 --- a/javelin_sdk/client.py +++ b/javelin_sdk/client.py @@ -206,7 +206,7 @@ def override_endpoint_url(request: Any, **kwargs) -> None: # If the identifier starts with "arn:aws:bedrock:", combine tokens if necessary. if identifier.startswith("arn:aws:bedrock:"): i = 1 - while identifier.count(":") < 5 and i < len(tokens): + while identifier.count(":") < 6 and i < len(tokens): identifier += "/" + tokens[i] i += 1