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
2 changes: 1 addition & 1 deletion javelin_sdk/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down