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 {