From 4ab53caaca8f7b72f9bd6e80b3be463df38dd120 Mon Sep 17 00:00:00 2001 From: Tran Ngoc Nhan Date: Sat, 4 Oct 2025 08:36:09 +0700 Subject: [PATCH] Correct `required` Signed-off-by: Tran Ngoc Nhan --- .../ai/google/genai/tool/GoogleGenAiPaymentTransactionIT.java | 4 ++-- .../gemini/tool/VertexAiGeminiPaymentTransactionIT.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/models/spring-ai-google-genai/src/test/java/org/springframework/ai/google/genai/tool/GoogleGenAiPaymentTransactionIT.java b/models/spring-ai-google-genai/src/test/java/org/springframework/ai/google/genai/tool/GoogleGenAiPaymentTransactionIT.java index b1658d2e185..d5bb4617040 100644 --- a/models/spring-ai-google-genai/src/test/java/org/springframework/ai/google/genai/tool/GoogleGenAiPaymentTransactionIT.java +++ b/models/spring-ai-google-genai/src/test/java/org/springframework/ai/google/genai/tool/GoogleGenAiPaymentTransactionIT.java @@ -77,7 +77,7 @@ public void paymentStatuses() { .toolNames("paymentStatus") .user(""" What is the status of my payment transactions 001, 002 and 003? - If requred invoke the function per transaction. + If required invoke the function per transaction. """).call().content(); // @formatter:on logger.info("" + content); @@ -94,7 +94,7 @@ public void streamingPaymentStatuses() { .toolNames("paymentStatus") .user(""" What is the status of my payment transactions 001, 002 and 003? - If requred invoke the function per transaction. + If required invoke the function per transaction. """) .stream() .content(); diff --git a/models/spring-ai-vertex-ai-gemini/src/test/java/org/springframework/ai/vertexai/gemini/tool/VertexAiGeminiPaymentTransactionIT.java b/models/spring-ai-vertex-ai-gemini/src/test/java/org/springframework/ai/vertexai/gemini/tool/VertexAiGeminiPaymentTransactionIT.java index dc6ae7f9466..35a930f444e 100644 --- a/models/spring-ai-vertex-ai-gemini/src/test/java/org/springframework/ai/vertexai/gemini/tool/VertexAiGeminiPaymentTransactionIT.java +++ b/models/spring-ai-vertex-ai-gemini/src/test/java/org/springframework/ai/vertexai/gemini/tool/VertexAiGeminiPaymentTransactionIT.java @@ -77,7 +77,7 @@ public void paymentStatuses() { .toolNames("paymentStatus") .user(""" What is the status of my payment transactions 001, 002 and 003? - If requred invoke the function per transaction. + If required invoke the function per transaction. """).call().content(); // @formatter:on logger.info("" + content); @@ -94,7 +94,7 @@ public void streamingPaymentStatuses() { .toolNames("paymentStatus") .user(""" What is the status of my payment transactions 001, 002 and 003? - If requred invoke the function per transaction. + If required invoke the function per transaction. """) .stream() .content();