We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca64454 commit f879a77Copy full SHA for f879a77
1 file changed
semantickernel-api/src/main/java/com/microsoft/semantickernel/orchestration/PromptExecutionSettings.java
@@ -384,7 +384,10 @@ public boolean equals(Object obj) {
384
if (Double.compare(frequencyPenalty, other.frequencyPenalty) != 0) {
385
return false;
386
}
387
- if (maxTokens != other.maxTokens) {
+ if (!Objects.equals(maxTokens, other.maxTokens)) {
388
+ return false;
389
+ }
390
+ if (!Objects.equals(maxCompletionTokens, other.maxCompletionTokens)) {
391
392
393
if (bestOf != other.bestOf) {
0 commit comments