File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
swift/example_code/bedrock/ListFoundationModels/Sources Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -110,8 +110,8 @@ struct ExampleCommand: ParsableCommand {
110110 print ( " No models returned. " )
111111 return
112112 }
113- // snippet-end:[swift.bedrock.ListFoundationModels]
114113
114+ // Output a list of the models with their details.
115115 for summary in summaries {
116116 print ( " ========================================== " )
117117 print ( " Model ID: \( summary. modelId ?? " <unknown> " ) " )
@@ -124,6 +124,7 @@ struct ExampleCommand: ParsableCommand {
124124 print ( " Supported inference types: \( buildInferenceList ( inferences: summary. inferenceTypesSupported) ) " )
125125 print ( " ------------------------------------------ \n " )
126126 }
127+ // snippet-end:[swift.bedrock.ListFoundationModels]
127128
128129 print ( " \( summaries. count) models available. " )
129130 }
You can’t perform that action at this time.
0 commit comments