You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Handling default implementation of ToolCallback#call(String,ToolContext)
Context: Currently, the default implementation of ToolCallback#call(String,ToolContext) throws exception when an non-empty ToolContext is passed. This gives bad user experience when the application has multiple tool callbacks with one of them doesn't use toolcontext but the chat client passes non-empty toolcontext. For more information ##3389
- This fix removes the explicit exception when the toolcontext is non empty for the default implementation of call(String, ToolContext)
- Instead, log info message that tool context will be ignored
Auto-cherry-pick to 1.0.x
Fixes#3389
Signed-off-by: Ilayaperumal Gopinathan <[email protected]>
0 commit comments