Skip to content

Commit 8009d24

Browse files
committed
Fixes #2185 - googleSearchRetrieval(true) causes INVALID_ARGUMENT error with Gemini 2.0 (use google_search instead)
Adding DCO signature. Signed-off-by: Dan Dobrin <[email protected]> Signed-off-by: ddobrin <[email protected]>
1 parent d2508df commit 8009d24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/spring-ai-vertex-ai-gemini/src/test/java/org/springframework/ai/vertexai/gemini/VertexAiGeminiChatModelIT.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ void testMessageHistory() {
8888
assertThat(response.getResult().getOutput().getText()).containsAnyOf("Blackbeard", "Bartholomew");
8989
}
9090

91-
// Disabled until Gemini 2.5 PRO has an official release
91+
// Test disabled until Gemini 2.5 PRO has an official release
9292
@Disabled
9393
@Test
9494
void googleSearchToolPro() {

0 commit comments

Comments
 (0)