Update model in FunctionCallWithPromptFunctionIT in vertex gemini to gemini-2.0-flash

Signed-off-by: Soby Chacko <soby.chacko@broadcom.com>
This commit is contained in:
Soby Chacko
2025-04-09 22:25:10 -04:00
parent cd0ac9cee7
commit 9a428f48e1

View File

@@ -50,7 +50,7 @@ public class FunctionCallWithPromptFunctionIT {
void functionCallTest() {
this.contextRunner
.withPropertyValues("spring.ai.vertex.ai.gemini.chat.options.model="
+ VertexAiGeminiChatModel.ChatModel.GEMINI_2_5_PRO.getValue())
+ VertexAiGeminiChatModel.ChatModel.GEMINI_2_0_FLASH.getValue())
.run(context -> {
VertexAiGeminiChatModel chatModel = context.getBean(VertexAiGeminiChatModel.class);