reactor:移除 ai 的 api 包

This commit is contained in:
YunaiV 2025-05-17 09:08:00 +08:00
parent 5caa9e9395
commit 494711a68c
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ public class UserProfileQueryToolFunction
} }
@Override @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); LoginUser loginUser = (LoginUser) toolContext.getContext().get(AiUtils.TOOL_CONTEXT_LOGIN_USER);
Long tenantId = (Long) toolContext.getContext().get(AiUtils.TOOL_CONTEXT_TENANT_ID); Long tenantId = (Long) toolContext.getContext().get(AiUtils.TOOL_CONTEXT_TENANT_ID);
if (loginUser == null | tenantId == null) { if (loginUser == null | tenantId == null) {

View File

@ -16,7 +16,7 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
/** /**
* {@link org.springframework.ai.moonshot.MoonshotChatModel} 的集成测试 * {@link MoonshotChatModel} 的集成测试
* *
* @author 芋道源码 * @author 芋道源码
*/ */