Skip to content

Commit be7e291

Browse files
pradipkhomanetzolov
authored andcommitted
Fixed typo in Bedrock Titan chat option exception
1 parent 73f9cb8 commit be7e291

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

models/spring-ai-bedrock/src/main/java/org/springframework/ai/bedrock/titan/BedrockTitanChatOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,11 @@ public void setStopSequences(List<String> stopSequences) {
121121

122122
@Override
123123
public Integer getTopK() {
124-
throw new UnsupportedOperationException("Bedrock Titian Chat does not support the 'TopK' option.");
124+
throw new UnsupportedOperationException("Bedrock Titan Chat does not support the 'TopK' option.");
125125
}
126126

127127
public void setTopK(Integer topK) {
128-
throw new UnsupportedOperationException("Bedrock Titian Chat does not support the 'TopK' option.'");
128+
throw new UnsupportedOperationException("Bedrock Titan Chat does not support the 'TopK' option.'");
129129
}
130130

131131
}

0 commit comments

Comments
 (0)