update spring-ai 2.0.0-M8
update snail-ai 0.0.3 update 临时处理 snailjob与snailai的grpc依赖冲突问题
This commit is contained in:
@@ -17,6 +17,30 @@
|
||||
|
||||
<dependencies>
|
||||
|
||||
<!-- ruoyi-admin 同时引入 SnailJob Client 与 SnailAI Agent,SnailAI Agent 0.0.3 需要 protobuf 4.x -->
|
||||
<dependency>
|
||||
<groupId>com.google.protobuf</groupId>
|
||||
<artifactId>protobuf-java</artifactId>
|
||||
<version>4.35.0</version>
|
||||
</dependency>
|
||||
|
||||
<!-- 局部提升 ruoyi-admin 的 gRPC 运行时,避免被 SnailJob Client 的 1.76.0 抢先选中 -->
|
||||
<dependency>
|
||||
<groupId>io.grpc</groupId>
|
||||
<artifactId>grpc-protobuf</artifactId>
|
||||
<version>1.81.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.grpc</groupId>
|
||||
<artifactId>grpc-stub</artifactId>
|
||||
<version>1.81.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.grpc</groupId>
|
||||
<artifactId>grpc-netty-shaded</artifactId>
|
||||
<version>1.81.0</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Mysql驱动包 -->
|
||||
<dependency>
|
||||
<groupId>com.mysql</groupId>
|
||||
|
||||
@@ -345,7 +345,7 @@ spring.ai.mcp:
|
||||
--- # MCP 客户端配置
|
||||
spring.ai.mcp:
|
||||
client:
|
||||
# 需要接入外部 MCP Server 时再打开,并配置 streamable-http/sse/stdio connections
|
||||
# 需要接入外部 MCP Server 时再打开,并配置 streamable-http/stdio connections
|
||||
enabled: false
|
||||
name: ${spring.application.name}-mcp-client
|
||||
version: ${project.version}
|
||||
@@ -359,11 +359,6 @@ spring.ai.mcp:
|
||||
url: http://localhost:9001
|
||||
crm:
|
||||
url: http://localhost:9002
|
||||
# SSE 多服务端示例
|
||||
sse:
|
||||
connections:
|
||||
search:
|
||||
url: http://localhost:9003
|
||||
# STDIO 多服务端示例
|
||||
stdio:
|
||||
connections:
|
||||
|
||||
Reference in New Issue
Block a user