We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce8e8b9 commit 7a656f6Copy full SHA for 7a656f6
spring-ai-core/src/main/java/org/springframework/ai/model/function/FunctionCallback.java
@@ -79,8 +79,8 @@ public interface FunctionCallback {
79
* model.
80
* @return String containing the function call response.
81
*/
82
- default String call(String functionInput, ToolContext tooContext) {
83
- if (tooContext != null && !tooContext.getContext().isEmpty()) {
+ default String call(String functionInput, ToolContext toolContext) {
+ if (toolContext != null && !toolContext.getContext().isEmpty()) {
84
throw new UnsupportedOperationException("Function context is not supported!");
85
}
86
return call(functionInput);
0 commit comments