Skip to content

Commit 6827503

Browse files
committed
Applied spring-javaformat
Signed-off-by: ddobrin <[email protected]>
1 parent ad59869 commit 6827503

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

models/spring-ai-google-genai/src/main/java/org/springframework/ai/google/genai/GoogleGenAiChatOptions.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -511,9 +511,9 @@ public boolean equals(Object o) {
511511
public int hashCode() {
512512
return Objects.hash(this.stopSequences, this.temperature, this.topP, this.topK, this.candidateCount,
513513
this.frequencyPenalty, this.presencePenalty, this.thinkingBudget, this.includeThoughts,
514-
this.maxOutputTokens, this.model, this.responseMimeType, this.responseSchema, this.toolCallbacks, this.toolNames,
515-
this.googleSearchRetrieval, this.safetySettings, this.internalToolExecutionEnabled, this.toolContext,
516-
this.labels);
514+
this.maxOutputTokens, this.model, this.responseMimeType, this.responseSchema, this.toolCallbacks,
515+
this.toolNames, this.googleSearchRetrieval, this.safetySettings, this.internalToolExecutionEnabled,
516+
this.toolContext, this.labels);
517517
}
518518

519519
@Override

models/spring-ai-google-genai/src/test/java/org/springframework/ai/google/genai/GoogleGenAiChatModelIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ void googleSearchToolPro() {
105105
GoogleGenAiChatOptions.builder().model(ChatModel.GEMINI_2_5_PRO).googleSearchRetrieval(true).build());
106106
ChatResponse response = this.chatModel.call(prompt);
107107
assertThat(response.getResult().getOutput().getText()).containsAnyOf("Blackbeard", "Bartholomew", "Calico Jack",
108-
"Anne Bonny");
108+
"Bob", "Anne Bonny");
109109
}
110110

111111
@Test

0 commit comments

Comments
 (0)