Skip to content

Commit 78067d9

Browse files
committed
update code after rebase
Signed-off-by: Alexandros Pappas <[email protected]>
1 parent 4e67dbc commit 78067d9

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

models/spring-ai-anthropic/src/main/java/org/springframework/ai/anthropic/AnthropicChatOptions.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -256,10 +256,9 @@ public boolean equals(Object o) {
256256
&& Objects.equals(this.metadata, that.metadata)
257257
&& Objects.equals(this.stopSequences, that.stopSequences)
258258
&& Objects.equals(this.temperature, that.temperature) && Objects.equals(this.topP, that.topP)
259-
&& Objects.equals(this.topK, that.topK)
260-
&& Objects.equals(this.functionCallbacks, that.functionCallbacks)
261-
&& Objects.equals(this.functions, that.functions)
262-
&& Objects.equals(this.proxyToolCalls, that.proxyToolCalls)
259+
&& Objects.equals(this.topK, that.topK) && Objects.equals(this.toolCallbacks, that.toolCallbacks)
260+
&& Objects.equals(this.toolNames, that.toolNames)
261+
&& Objects.equals(this.internalToolExecutionEnabled, that.internalToolExecutionEnabled)
263262
&& Objects.equals(this.toolContext, that.toolContext);
264263
}
265264

@@ -274,9 +273,10 @@ public int hashCode() {
274273
result = prime * result + (this.temperature != null ? this.temperature.hashCode() : 0);
275274
result = prime * result + (this.topP != null ? this.topP.hashCode() : 0);
276275
result = prime * result + (this.topK != null ? this.topK.hashCode() : 0);
277-
result = prime * result + (this.functionCallbacks != null ? this.functionCallbacks.hashCode() : 0);
278-
result = prime * result + (this.functions != null ? this.functions.hashCode() : 0);
279-
result = prime * result + (this.proxyToolCalls != null ? this.proxyToolCalls.hashCode() : 0);
276+
result = prime * result + (this.toolCallbacks != null ? this.toolCallbacks.hashCode() : 0);
277+
result = prime * result + (this.toolNames != null ? this.toolNames.hashCode() : 0);
278+
result = prime * result
279+
+ (this.internalToolExecutionEnabled != null ? this.internalToolExecutionEnabled.hashCode() : 0);
280280
result = prime * result + (this.toolContext != null ? this.toolContext.hashCode() : 0);
281281
return result;
282282
}

models/spring-ai-azure-openai/src/main/java/org/springframework/ai/azure/openai/AzureOpenAiChatOptions.java

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -439,9 +439,10 @@ public boolean equals(Object o) {
439439
&& Objects.equals(this.n, that.n) && Objects.equals(this.stop, that.stop)
440440
&& Objects.equals(this.deploymentName, that.deploymentName)
441441
&& Objects.equals(this.responseFormat, that.responseFormat)
442-
&& Objects.equals(this.functionCallbacks, that.functionCallbacks)
443-
&& Objects.equals(this.functions, that.functions)
444-
&& Objects.equals(this.proxyToolCalls, that.proxyToolCalls) && Objects.equals(this.seed, that.seed)
442+
443+
&& Objects.equals(this.toolCallbacks, that.toolCallbacks)
444+
&& Objects.equals(this.toolNames, that.toolNames)
445+
&& Objects.equals(this.internalToolExecutionEnabled, that.internalToolExecutionEnabled)
445446
&& Objects.equals(this.logprobs, that.logprobs) && Objects.equals(this.topLogProbs, that.topLogProbs)
446447
&& Objects.equals(this.enhancements, that.enhancements)
447448
&& Objects.equals(this.streamOptions, that.streamOptions)
@@ -461,9 +462,10 @@ public int hashCode() {
461462
result = prime * result + (this.stop != null ? this.stop.hashCode() : 0);
462463
result = prime * result + (this.deploymentName != null ? this.deploymentName.hashCode() : 0);
463464
result = prime * result + (this.responseFormat != null ? this.responseFormat.hashCode() : 0);
464-
result = prime * result + (this.functionCallbacks != null ? this.functionCallbacks.hashCode() : 0);
465-
result = prime * result + (this.functions != null ? this.functions.hashCode() : 0);
466-
result = prime * result + (this.proxyToolCalls != null ? this.proxyToolCalls.hashCode() : 0);
465+
result = prime * result + (this.toolCallbacks != null ? this.toolCallbacks.hashCode() : 0);
466+
result = prime * result + (this.toolNames != null ? this.toolNames.hashCode() : 0);
467+
result = prime * result
468+
+ (this.internalToolExecutionEnabled != null ? this.internalToolExecutionEnabled.hashCode() : 0);
467469
result = prime * result + (this.seed != null ? this.seed.hashCode() : 0);
468470
result = prime * result + (this.logprobs != null ? this.logprobs.hashCode() : 0);
469471
result = prime * result + (this.topLogProbs != null ? this.topLogProbs.hashCode() : 0);

0 commit comments

Comments
 (0)