Skip to content

Commit ef6ec0f

Browse files
Fixed stop sequence limit for converse API.
1 parent 9b6bc9a commit ef6ec0f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

generator/ServiceModels/bedrock-runtime/bedrock-runtime-2023-09-30.api.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1795,7 +1795,7 @@
17951795
"InferenceConfigurationStopSequencesList":{
17961796
"type":"list",
17971797
"member":{"shape":"NonEmptyString"},
1798-
"max":4,
1798+
"max":2500,
17991799
"min":0
18001800
},
18011801
"InferenceConfigurationTemperatureFloat":{

generator/ServiceModels/bedrock-runtime/bedrock-runtime-2023-09-30.normal.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2737,7 +2737,7 @@
27372737
"InferenceConfigurationStopSequencesList":{
27382738
"type":"list",
27392739
"member":{"shape":"NonEmptyString"},
2740-
"max":4,
2740+
"max":2500,
27412741
"min":0
27422742
},
27432743
"InferenceConfigurationTemperatureFloat":{

sdk/src/Services/BedrockRuntime/Generated/Model/InferenceConfiguration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ internal bool IsSetMaxTokens()
8484
/// to distinguish between a property not set or a property being empty to clear out a value. To retain the previous
8585
/// SDK behavior set the AWSConfigs.InitializeCollections static property to true.
8686
/// </summary>
87-
[AWSProperty(Min=0, Max=4)]
87+
[AWSProperty(Min=0, Max=2500)]
8888
public List<string> StopSequences
8989
{
9090
get { return this._stopSequences; }

0 commit comments

Comments
 (0)