Skip to content

Commit df15b8e

Browse files
ilayaperumalgchedim
authored andcommitted
Fix BedrockNovaChatClientIT#toolAnnotationWeatherForecast
Fix the tool name to describe the actual function Signed-off-by: Ilayaperumal Gopinathan <[email protected]>
1 parent 9392be2 commit df15b8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/spring-ai-bedrock-converse/src/test/java/org/springframework/ai/bedrock/converse/client/BedrockNovaChatClientIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ public record WeatherResponse(int temp, String unit) {
284284
public static class DummyWeatherForecastTools {
285285

286286
@Tool(description = "Get the current weather forecast in Amsterdam")
287-
String getCurrentDateTime() {
287+
String getCurrentWeather() {
288288
return "Weather is hot and sunny with a temperature of 20 degrees";
289289
}
290290

0 commit comments

Comments
 (0)