Skip to content

Commit 526c4d4

Browse files
committed
fix(bedrock): fix on-demand throughput doc URL to preserve anchor fragment
Replace /latest/ with /docs/ to avoid redirect that drops the URL anchor.
1 parent 6e208a8 commit 526c4d4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/strands/models/bedrock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,7 @@ def _stream(
970970
add_exception_note(
971971
e,
972972
"└ For more information see "
973-
"https://strandsagents.com/latest/user-guide/concepts/model-providers/amazon-bedrock/#on-demand-throughput-isnt-supported",
973+
"https://strandsagents.com/docs/user-guide/concepts/model-providers/amazon-bedrock/#on-demand-throughput-isnt-supported",
974974
)
975975

976976
raise e

tests/strands/models/test_bedrock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1717,7 +1717,7 @@ async def test_add_note_on_validation_exception_throughput(bedrock_client, model
17171717
"└ Bedrock region: us-west-2",
17181718
"└ Model id: m1",
17191719
"└ For more information see "
1720-
"https://strandsagents.com/latest/user-guide/concepts/model-providers/amazon-bedrock/#on-demand-throughput-isnt-supported",
1720+
"https://strandsagents.com/docs/user-guide/concepts/model-providers/amazon-bedrock/#on-demand-throughput-isnt-supported",
17211721
]
17221722

17231723

0 commit comments

Comments
 (0)