Skip to content

Commit cb30083

Browse files
Add Spring Boot web/rest clients explicitly to model starters (#4949)
- With the Spring Boot 4.0 modular design, the Spring Boot web and rest clients need to be explicitly specified to the starters which use spring-boot web and rest clients Fixes #4948 Signed-off-by: Ilayaperumal Gopinathan <[email protected]>
1 parent 15df47d commit cb30083

File tree

11 files changed

+102
-0
lines changed
  • spring-ai-spring-boot-starters
    • spring-ai-starter-model-anthropic
    • spring-ai-starter-model-deepseek
    • spring-ai-starter-model-elevenlabs
    • spring-ai-starter-model-minimax
    • spring-ai-starter-model-mistral-ai
    • spring-ai-starter-model-ollama
    • spring-ai-starter-model-openai
    • spring-ai-starter-model-stability-ai
    • spring-ai-starter-model-zhipuai
    • spring-ai-starter-vector-store-chroma
    • spring-ai-starter-vector-store-gemfire

11 files changed

+102
-0
lines changed

spring-ai-spring-boot-starters/spring-ai-starter-model-anthropic/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,16 @@
4242
<artifactId>spring-boot-starter</artifactId>
4343
</dependency>
4444

45+
<dependency>
46+
<groupId>org.springframework.boot</groupId>
47+
<artifactId>spring-boot-starter-webclient</artifactId>
48+
</dependency>
49+
50+
<dependency>
51+
<groupId>org.springframework.boot</groupId>
52+
<artifactId>spring-boot-starter-restclient</artifactId>
53+
</dependency>
54+
4555
<dependency>
4656
<groupId>org.springframework.ai</groupId>
4757
<artifactId>spring-ai-autoconfigure-model-anthropic</artifactId>

spring-ai-spring-boot-starters/spring-ai-starter-model-deepseek/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,16 @@
4242
<artifactId>spring-boot-starter</artifactId>
4343
</dependency>
4444

45+
<dependency>
46+
<groupId>org.springframework.boot</groupId>
47+
<artifactId>spring-boot-starter-webclient</artifactId>
48+
</dependency>
49+
50+
<dependency>
51+
<groupId>org.springframework.boot</groupId>
52+
<artifactId>spring-boot-starter-restclient</artifactId>
53+
</dependency>
54+
4555
<dependency>
4656
<groupId>org.springframework.ai</groupId>
4757
<artifactId>spring-ai-autoconfigure-model-deepseek</artifactId>

spring-ai-spring-boot-starters/spring-ai-starter-model-elevenlabs/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,16 @@
2828
<artifactId>spring-boot-starter</artifactId>
2929
</dependency>
3030

31+
<dependency>
32+
<groupId>org.springframework.boot</groupId>
33+
<artifactId>spring-boot-starter-webclient</artifactId>
34+
</dependency>
35+
36+
<dependency>
37+
<groupId>org.springframework.boot</groupId>
38+
<artifactId>spring-boot-starter-restclient</artifactId>
39+
</dependency>
40+
3141
<dependency>
3242
<groupId>org.springframework.ai</groupId>
3343
<artifactId>spring-ai-autoconfigure-model-elevenlabs</artifactId>

spring-ai-spring-boot-starters/spring-ai-starter-model-minimax/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,16 @@
4242
<artifactId>spring-boot-starter</artifactId>
4343
</dependency>
4444

45+
<dependency>
46+
<groupId>org.springframework.boot</groupId>
47+
<artifactId>spring-boot-starter-webclient</artifactId>
48+
</dependency>
49+
50+
<dependency>
51+
<groupId>org.springframework.boot</groupId>
52+
<artifactId>spring-boot-starter-restclient</artifactId>
53+
</dependency>
54+
4555
<dependency>
4656
<groupId>org.springframework.ai</groupId>
4757
<artifactId>spring-ai-autoconfigure-model-minimax</artifactId>

spring-ai-spring-boot-starters/spring-ai-starter-model-mistral-ai/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,16 @@
4242
<artifactId>spring-boot-starter</artifactId>
4343
</dependency>
4444

45+
<dependency>
46+
<groupId>org.springframework.boot</groupId>
47+
<artifactId>spring-boot-starter-webclient</artifactId>
48+
</dependency>
49+
50+
<dependency>
51+
<groupId>org.springframework.boot</groupId>
52+
<artifactId>spring-boot-starter-restclient</artifactId>
53+
</dependency>
54+
4555
<dependency>
4656
<groupId>org.springframework.ai</groupId>
4757
<artifactId>spring-ai-autoconfigure-model-mistral-ai</artifactId>

spring-ai-spring-boot-starters/spring-ai-starter-model-ollama/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,16 @@
4242
<artifactId>spring-boot-starter</artifactId>
4343
</dependency>
4444

45+
<dependency>
46+
<groupId>org.springframework.boot</groupId>
47+
<artifactId>spring-boot-starter-webclient</artifactId>
48+
</dependency>
49+
50+
<dependency>
51+
<groupId>org.springframework.boot</groupId>
52+
<artifactId>spring-boot-starter-restclient</artifactId>
53+
</dependency>
54+
4555
<dependency>
4656
<groupId>org.springframework.ai</groupId>
4757
<artifactId>spring-ai-autoconfigure-model-ollama</artifactId>

spring-ai-spring-boot-starters/spring-ai-starter-model-openai/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,16 @@
4242
<artifactId>spring-boot-starter</artifactId>
4343
</dependency>
4444

45+
<dependency>
46+
<groupId>org.springframework.boot</groupId>
47+
<artifactId>spring-boot-starter-webclient</artifactId>
48+
</dependency>
49+
50+
<dependency>
51+
<groupId>org.springframework.boot</groupId>
52+
<artifactId>spring-boot-starter-restclient</artifactId>
53+
</dependency>
54+
4555
<dependency>
4656
<groupId>org.springframework.ai</groupId>
4757
<artifactId>spring-ai-autoconfigure-model-openai</artifactId>

spring-ai-spring-boot-starters/spring-ai-starter-model-stability-ai/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,16 @@
4242
<artifactId>spring-boot-starter</artifactId>
4343
</dependency>
4444

45+
<dependency>
46+
<groupId>org.springframework.boot</groupId>
47+
<artifactId>spring-boot-starter-webclient</artifactId>
48+
</dependency>
49+
50+
<dependency>
51+
<groupId>org.springframework.boot</groupId>
52+
<artifactId>spring-boot-starter-restclient</artifactId>
53+
</dependency>
54+
4555
<dependency>
4656
<groupId>org.springframework.ai</groupId>
4757
<artifactId>spring-ai-autoconfigure-model-stability-ai</artifactId>

spring-ai-spring-boot-starters/spring-ai-starter-model-zhipuai/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,16 @@
4242
<artifactId>spring-boot-starter</artifactId>
4343
</dependency>
4444

45+
<dependency>
46+
<groupId>org.springframework.boot</groupId>
47+
<artifactId>spring-boot-starter-webclient</artifactId>
48+
</dependency>
49+
50+
<dependency>
51+
<groupId>org.springframework.boot</groupId>
52+
<artifactId>spring-boot-starter-restclient</artifactId>
53+
</dependency>
54+
4555
<dependency>
4656
<groupId>org.springframework.ai</groupId>
4757
<artifactId>spring-ai-autoconfigure-model-zhipuai</artifactId>

spring-ai-spring-boot-starters/spring-ai-starter-vector-store-chroma/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@
4040
<groupId>org.springframework.boot</groupId>
4141
<artifactId>spring-boot-starter</artifactId>
4242
</dependency>
43+
44+
<dependency>
45+
<groupId>org.springframework.boot</groupId>
46+
<artifactId>spring-boot-starter-restclient</artifactId>
47+
</dependency>
48+
4349
<dependency>
4450
<groupId>org.springframework.ai</groupId>
4551
<artifactId>spring-ai-autoconfigure-vector-store-chroma</artifactId>

0 commit comments

Comments
 (0)