Commit 494711a68c528f70c16dfb4fdf99c9b685273f1f
1 parent
5caa9e93
reactor:移除 ai 的 api 包
Showing
2 changed files
with
2 additions
and
2 deletions
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