Commit 494711a68c528f70c16dfb4fdf99c9b685273f1f

Authored by YunaiV
1 parent 5caa9e93

reactor:移除 ai 的 api 包

yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/service/model/tool/UserProfileQueryToolFunction.java
... ... @@ -60,7 +60,7 @@ public class UserProfileQueryToolFunction
60 60 }
61 61  
62 62 @Override
63   - public UserProfileQueryToolFunction.Response apply(UserProfileQueryToolFunction.Request request, ToolContext toolContext) {
  63 + public Response apply(Request request, ToolContext toolContext) {
64 64 LoginUser loginUser = (LoginUser) toolContext.getContext().get(AiUtils.TOOL_CONTEXT_LOGIN_USER);
65 65 Long tenantId = (Long) toolContext.getContext().get(AiUtils.TOOL_CONTEXT_TENANT_ID);
66 66 if (loginUser == null | tenantId == null) {
... ...
yudao-module-ai/src/test/java/cn/iocoder/yudao/module/ai/framework/ai/core/model/chat/MoonshotChatModelTests.java
... ... @@ -16,7 +16,7 @@ import java.util.ArrayList;
16 16 import java.util.List;
17 17  
18 18 /**
19   - * {@link org.springframework.ai.moonshot.MoonshotChatModel} 的集成测试
  19 + * {@link MoonshotChatModel} 的集成测试
20 20 *
21 21 * @author 芋道源码
22 22 */
... ...