Skip to content

Commit 760a466

Browse files
zucchivantzolov
authored andcommitted
Remove Vertex AI Gemini model name manual setting from unit tests setup
1 parent 4dbc4c8 commit 760a466

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

spring-ai-spring-boot-autoconfigure/src/test/java/org/springframework/ai/autoconfigure/vertexai/gemini/VertexAiGeminiAutoConfigurationIT.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,7 @@ public class VertexAiGeminiAutoConfigurationIT {
4040

4141
private final ApplicationContextRunner contextRunner = new ApplicationContextRunner()
4242
.withPropertyValues("spring.ai.vertex.ai.gemini.project-id=" + System.getenv("VERTEX_AI_GEMINI_PROJECT_ID"),
43-
"spring.ai.vertex.ai.gemini.location=" + System.getenv("VERTEX_AI_GEMINI_LOCATION"),
44-
"spring.ai.vertex.ai.gemini.chat.options.model="
45-
+ VertexAiGeminiChatClient.ChatModel.GEMINI_PRO_VISION.getValue())
43+
"spring.ai.vertex.ai.gemini.location=" + System.getenv("VERTEX_AI_GEMINI_LOCATION"))
4644
.withConfiguration(AutoConfigurations.of(VertexAiGeminiAutoConfiguration.class));
4745

4846
@Test

0 commit comments

Comments
 (0)