【同步】BOOT 和 CLOUD 的功能

This commit is contained in:
YunaiV
2025-05-06 21:05:35 +08:00
parent fdbda95984
commit 5b81612086
24 changed files with 1109 additions and 696 deletions

View File

@@ -60,7 +60,7 @@ public class UserProfileQueryToolFunction
}
@Override
public Response apply(Request request, ToolContext toolContext) {
public UserProfileQueryToolFunction.Response apply(UserProfileQueryToolFunction.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) {