|
|
|
@ -57,6 +57,7 @@
|
|
|
|
|
<minio.version>8.5.7</minio.version>
|
|
|
|
|
<okhttp.version>4.9.0</okhttp.version>
|
|
|
|
|
<springboot.ai>1.0.3</springboot.ai>
|
|
|
|
|
<httpclient5.version>5.3.1</httpclient5.version>
|
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
@ -70,6 +71,13 @@
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!--将http客户端引入httpclient,以提供给spring-ai使用,因为minio引入了okhttp,如果不引入httpclient,会导致自动使用okhttp(okhttp超时时间短,会导致大模型来不及回答消息)-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.httpcomponents.client5</groupId>
|
|
|
|
|
<artifactId>httpclient5</artifactId>
|
|
|
|
|
<version>${httpclient5.version}</version> <!-- 使用时请替换为最新的版本 -->
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
|
<artifactId>spring-cloud-starter-bootstrap</artifactId>
|
|
|
|
|