Skip to content

Commit cf1c46b

Browse files
damianmomotgooglecopybara-github
authored andcommitted
test: bump GeminiApiIntegrationTest to gemini-flash-latest
gemini-2.0-flash has been retired and returns HTTP 404, so the live Gemini API integration test always failed. Use the gemini-flash-latest alias instead. PiperOrigin-RevId: 943725263
1 parent 1b9b395 commit cf1c46b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

contrib/spring-ai/src/test/java/com/google/adk/models/springai/integrations/GeminiApiIntegrationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
@EnabledIfEnvironmentVariable(named = "GOOGLE_API_KEY", matches = "\\S+")
4949
class GeminiApiIntegrationTest {
5050

51-
private static final String GEMINI_MODEL = "gemini-2.0-flash";
51+
private static final String GEMINI_MODEL = "gemini-flash-latest";
5252

5353
@Test
5454
void testSimpleAgentWithRealGeminiApi() throws InterruptedException {

0 commit comments

Comments
 (0)