|
|
@@ -60,7 +60,7 @@ public class UserProfileQueryToolFunction
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public UserProfileQueryToolFunction.Response apply(UserProfileQueryToolFunction.Request request, ToolContext toolContext) {
|
|
|
+ public Response apply(Request request, ToolContext toolContext) {
|
|
|
LoginUser loginUser = (LoginUser) toolContext.getContext().get(AiUtils.TOOL_CONTEXT_LOGIN_USER);
|
|
|
Long tenantId = (Long) toolContext.getContext().get(AiUtils.TOOL_CONTEXT_TENANT_ID);
|
|
|
if (loginUser == null | tenantId == null) {
|