Update FunctionCallback.java
Update parameter name tooContext to toolContext in method FunctionCallback.call() 😅 Signed-off-by: bmamatkadyr <beksultancs@gmail.com>
This commit is contained in:
committed by
Ilayaperumal Gopinathan
parent
ce8e8b9d7c
commit
07c2b9df1b
@@ -79,8 +79,8 @@ public interface FunctionCallback {
|
||||
* model.
|
||||
* @return String containing the function call response.
|
||||
*/
|
||||
default String call(String functionInput, ToolContext tooContext) {
|
||||
if (tooContext != null && !tooContext.getContext().isEmpty()) {
|
||||
default String call(String functionInput, ToolContext toolContext) {
|
||||
if (toolContext != null && !toolContext.getContext().isEmpty()) {
|
||||
throw new UnsupportedOperationException("Function context is not supported!");
|
||||
}
|
||||
return call(functionInput);
|
||||
|
||||
Reference in New Issue
Block a user