From 80a9282d4caf1690aba24dc41a1b117916883d52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=99=8E=E9=B8=A3?= Date: Wed, 23 Apr 2025 15:42:19 +0800 Subject: [PATCH] chore: Fix typo in toolContext. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 虎鸣 --- .../org/springframework/ai/model/function/FunctionCallback.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-ai-model/src/main/java/org/springframework/ai/model/function/FunctionCallback.java b/spring-ai-model/src/main/java/org/springframework/ai/model/function/FunctionCallback.java index 0553c0d7f29..e40e42a599b 100644 --- a/spring-ai-model/src/main/java/org/springframework/ai/model/function/FunctionCallback.java +++ b/spring-ai-model/src/main/java/org/springframework/ai/model/function/FunctionCallback.java @@ -74,7 +74,7 @@ public interface FunctionCallback { * @param functionInput JSON string with the function arguments to be passed to the * function. The arguments are defined as JSON schema usually registered with the * model. Arguments are provided by the AI model. - * @param tooContext Map with the function context. The context is used to pass + * @param toolContext Map with the function context. The context is used to pass * additional user provided state in addition to the arguments provided by the AI * model. * @return String containing the function call response.