- Replaced
Map<String, Object>withToolContextin theFunctionCallback,AbstractFunctionCallback, and related classes. - Updated all BiFunction definitions to use
ToolContextas the second parameter, enhancing the clarity and structure of the tool context management. - Modified
FunctionCallbackWrapperandFunctionCallbackContextto adapt to the newToolContextparameter. - Adjusted the handling of tool context in the documentation and test classes.
- Updated relevant test cases to reflect the API changes and modified the function handling logic to ensure consistency.
Comment From: markpollack
minor fixes, merged in 38082de0f8e4ac4533469e81f11d1cddae17754f