Skip to content

Commit 283a41f

Browse files
authored
chore: Fix typo in toolContext. (#2854)
Signed-off-by: 虎鸣 <[email protected]>
1 parent 7f0a97d commit 283a41f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-ai-model/src/main/java/org/springframework/ai/model/function/FunctionCallback.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public interface FunctionCallback {
7474
* @param functionInput JSON string with the function arguments to be passed to the
7575
* function. The arguments are defined as JSON schema usually registered with the
7676
* model. Arguments are provided by the AI model.
77-
* @param tooContext Map with the function context. The context is used to pass
77+
* @param toolContext Map with the function context. The context is used to pass
7878
* additional user provided state in addition to the arguments provided by the AI
7979
* model.
8080
* @return String containing the function call response.

0 commit comments

Comments
 (0)