From 1618996eb12d1a913888d55fa24bc56e6ff24923 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Delbrayelle?= Date: Tue, 10 Jun 2025 11:23:07 +0200 Subject: [PATCH] docs: use unit in the given example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4dd54a8b4d2..ca77d52ffbc 100644 --- a/README.md +++ b/README.md @@ -182,7 +182,7 @@ import java.lang.reflect.Method; public class GenerateContentWithFunctionCall { public static String getCurrentWeather(String location, String unit) { - return "The weather in " + location + " is " + "very nice."; + return "The weather in " + location + " is " + unit + "."; } public static void main(String[] args) throws NoSuchMethodException {