mirror of
https://gitee.com/yudaocode/yudao-boot-mini.git
synced 2026-10-06 14:13:14 +08:00
fix: 启用 AI 和报表模块并按项目版本对齐 Spring AI BOM
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
<flatten-maven-plugin.version>1.7.2</flatten-maven-plugin.version>
|
||||
<!-- 统一依赖管理 -->
|
||||
<spring.boot.version>3.5.15</spring.boot.version>
|
||||
<spring-ai.version>1.1.8</spring-ai.version>
|
||||
<!-- Web 相关 -->
|
||||
<springdoc.version>2.8.17</springdoc.version>
|
||||
<knife4j.version>4.5.0</knife4j.version>
|
||||
@@ -103,6 +104,13 @@
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.ai</groupId>
|
||||
<artifactId>spring-ai-bom</artifactId>
|
||||
<version>${spring-ai.version}</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- 业务组件 -->
|
||||
<dependency>
|
||||
|
||||
@@ -147,6 +147,9 @@ spring:
|
||||
|
||||
spring:
|
||||
ai:
|
||||
chat:
|
||||
client:
|
||||
enabled: false # 关闭 ChatClient.Builder 自动配置:它要求唯一的 ChatModel Bean,而项目会创建多个,导致 ai + report 模块同时引入时启动报错
|
||||
vectorstore: # 向量存储
|
||||
redis:
|
||||
initialize-schema: true
|
||||
|
||||
Reference in New Issue
Block a user