From 9b32e3b3b226723cd43bfa37026e1e4487f6ef69 Mon Sep 17 00:00:00 2001 From: ageer <ageerle@163.com> Date: 星期六, 12 四月 2025 10:08:51 +0800 Subject: [PATCH] feat: mcp支持 --- ruoyi-modules-api/ruoyi-chat-api/pom.xml | 32 ++++++++++++++++++++++++++++++++ 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/ruoyi-modules-api/ruoyi-chat-api/pom.xml b/ruoyi-modules-api/ruoyi-chat-api/pom.xml index 633977b..72fd0d2 100644 --- a/ruoyi-modules-api/ruoyi-chat-api/pom.xml +++ b/ruoyi-modules-api/ruoyi-chat-api/pom.xml @@ -18,12 +18,44 @@ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> + <dependencyManagement> + <dependencies> + <dependency> + <groupId>org.springframework.ai</groupId> + <artifactId>spring-ai-bom</artifactId> + <version>1.0.0-M6</version> + <type>pom</type> + <scope>import</scope> + </dependency> + </dependencies> + </dependencyManagement> + <!-- 瀵硅瘽鍩虹妯″潡 --> <dependencies> <dependency> <groupId>org.ruoyi</groupId> <artifactId>ruoyi-common-chat</artifactId> </dependency> + + <dependency> + <groupId>org.springframework.ai</groupId> + <artifactId>spring-ai-mcp-client-spring-boot-starter</artifactId> + </dependency> + + <dependency> + <groupId>org.springframework.ai</groupId> + <artifactId>spring-ai-mcp</artifactId> + </dependency> + + <dependency> + <groupId>org.springframework.ai</groupId> + <artifactId>spring-ai-openai-spring-boot-starter</artifactId> + </dependency> + + <dependency> + <groupId>org.springframework.ai</groupId> + <artifactId>spring-ai-ollama-spring-boot-starter</artifactId> + </dependency> </dependencies> </project> -- Gitblit v1.9.3