| aiflowy-modules/aiflowy-module-ai/src/main/java/tech/aiflowy/ai/controller/AiBotController.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
aiflowy-modules/aiflowy-module-ai/src/main/java/tech/aiflowy/ai/controller/AiBotController.java
@@ -524,7 +524,9 @@ private void appendPluginToolFunction(BigInteger botId, HumanMessage humanMessage) { QueryWrapper queryWrapper = QueryWrapper.create().select("plugin_tool_id").eq(AiBotPlugins::getBotId, botId); List<BigInteger> pluginToolIds = aiBotPluginsService.getMapper().selectListWithRelationsByQueryAs(queryWrapper, BigInteger.class); if (pluginToolIds.isEmpty()){ return; } QueryWrapper queryTool = QueryWrapper.create() .select("*") .from("tb_ai_plugin_tool")