【同步】BOOT 和 CLOUD 的功能

(cherry picked from commit 5b816120860fa13ee7e0e4515d605cf1f015ffbf)
This commit is contained in:
YunaiV
2025-05-14 14:27:17 +08:00
committed by dengqichen
parent 027d5e9327
commit 556597a126
24 changed files with 1109 additions and 696 deletions
@@ -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) {