Skip to content

Commit 3cc0182

Browse files
authored
Multi: Clean up duplicate snippet tags (#7550)
Fixes for duplicate snippets.
1 parent da33a42 commit 3cc0182

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

python/example_code/bedrock-agent-runtime/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ python -m pip install -r requirements.txt
3838

3939
Code examples that show you how to perform the essential operations within a service.
4040

41-
- [Learn the basics](../bedrock-agent/flows/flow-conversation.py)
41+
- [Learn the basics](flows/flow-conversation.py)
4242

4343

4444
### Single actions
@@ -79,7 +79,7 @@ This example shows you how to use InvokeFlow to converse with an Amazon Bedrock
7979
Start the example by running the following at a command prompt:
8080

8181
```
82-
python ../bedrock-agent/flows/flow-conversation.py
82+
python flows/flow-conversation.py
8383
```
8484

8585

python/example_code/bedrock-agent/flows/flow-conversation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

4-
# snippet-start:[python.example_code.bedrock-agent-runtime.flow_conversation.complete]
4+
# snippet-start:[python.example_code.bedrock-agent.flow_conversation.complete]
55

66

77
"""
@@ -179,4 +179,4 @@ def main():
179179
if __name__ == "__main__":
180180
main()
181181

182-
# snippet-end:[python.example_code.bedrock-agent-runtime.flow_conversation.complete]
182+
# snippet-end:[python.example_code.bedrock-agent.flow_conversation.complete]

swift/example_code/swift-sdk/http-config/Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// (swift-tools-version has two lines here because it needs to be the first
66
// line in the file, but it should also appear in the snippet below)
77
//
8-
// snippet-start:[swift.cognito-identity-provider.scenario.package]
8+
// snippet-start:[swift.httpconfig.scenario.package]
99
// swift-tools-version: 5.9
1010
//
1111
// The swift-tools-version declares the minimum version of Swift required to
@@ -44,4 +44,4 @@ let package = Package(
4444

4545
]
4646
)
47-
// snippet-end:[swift.cognito-identity-provider.scenario.package]
47+
// snippet-end:[swift.httpconfig.scenario.package]

0 commit comments

Comments
 (0)