From 7788a7c36aa80a538a52bdc441087d1f94fc619e Mon Sep 17 00:00:00 2001 From: Ilayaperumal Gopinathan Date: Mon, 24 Nov 2025 18:06:08 +0000 Subject: [PATCH 1/2] Add Spring Boot web/rest clients explicitly to model starters - With the Spring Boot 4.0 modulular 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 --- .../spring-ai-starter-model-anthropic/pom.xml | 10 ++++++++++ .../spring-ai-starter-model-deepseek/pom.xml | 10 ++++++++++ .../spring-ai-starter-model-elevenlabs/pom.xml | 10 ++++++++++ .../spring-ai-starter-model-minimax/pom.xml | 10 ++++++++++ .../spring-ai-starter-model-mistral-ai/pom.xml | 10 ++++++++++ .../spring-ai-starter-model-ollama/pom.xml | 10 ++++++++++ .../spring-ai-starter-model-openai/pom.xml | 10 ++++++++++ .../spring-ai-starter-model-stability-ai/pom.xml | 10 ++++++++++ .../spring-ai-starter-model-zhipuai/pom.xml | 10 ++++++++++ 9 files changed, 90 insertions(+) diff --git a/spring-ai-spring-boot-starters/spring-ai-starter-model-anthropic/pom.xml b/spring-ai-spring-boot-starters/spring-ai-starter-model-anthropic/pom.xml index 8aa3c43d46a..d3886cbcd27 100644 --- a/spring-ai-spring-boot-starters/spring-ai-starter-model-anthropic/pom.xml +++ b/spring-ai-spring-boot-starters/spring-ai-starter-model-anthropic/pom.xml @@ -42,6 +42,16 @@ spring-boot-starter + + org.springframework.boot + spring-boot-starter-webclient + + + + org.springframework.boot + spring-boot-starter-restclient + + org.springframework.ai spring-ai-autoconfigure-model-anthropic diff --git a/spring-ai-spring-boot-starters/spring-ai-starter-model-deepseek/pom.xml b/spring-ai-spring-boot-starters/spring-ai-starter-model-deepseek/pom.xml index fd2b0067dae..49e696e4e69 100644 --- a/spring-ai-spring-boot-starters/spring-ai-starter-model-deepseek/pom.xml +++ b/spring-ai-spring-boot-starters/spring-ai-starter-model-deepseek/pom.xml @@ -42,6 +42,16 @@ spring-boot-starter + + org.springframework.boot + spring-boot-starter-webclient + + + + org.springframework.boot + spring-boot-starter-restclient + + org.springframework.ai spring-ai-autoconfigure-model-deepseek diff --git a/spring-ai-spring-boot-starters/spring-ai-starter-model-elevenlabs/pom.xml b/spring-ai-spring-boot-starters/spring-ai-starter-model-elevenlabs/pom.xml index 1c7b7577dc7..fd10013367c 100644 --- a/spring-ai-spring-boot-starters/spring-ai-starter-model-elevenlabs/pom.xml +++ b/spring-ai-spring-boot-starters/spring-ai-starter-model-elevenlabs/pom.xml @@ -28,6 +28,16 @@ spring-boot-starter + + org.springframework.boot + spring-boot-starter-webclient + + + + org.springframework.boot + spring-boot-starter-restclient + + org.springframework.ai spring-ai-autoconfigure-model-elevenlabs diff --git a/spring-ai-spring-boot-starters/spring-ai-starter-model-minimax/pom.xml b/spring-ai-spring-boot-starters/spring-ai-starter-model-minimax/pom.xml index 33fb03719f3..8af639a0a92 100644 --- a/spring-ai-spring-boot-starters/spring-ai-starter-model-minimax/pom.xml +++ b/spring-ai-spring-boot-starters/spring-ai-starter-model-minimax/pom.xml @@ -42,6 +42,16 @@ spring-boot-starter + + org.springframework.boot + spring-boot-starter-webclient + + + + org.springframework.boot + spring-boot-starter-restclient + + org.springframework.ai spring-ai-autoconfigure-model-minimax diff --git a/spring-ai-spring-boot-starters/spring-ai-starter-model-mistral-ai/pom.xml b/spring-ai-spring-boot-starters/spring-ai-starter-model-mistral-ai/pom.xml index e06ece50643..14e36832724 100644 --- a/spring-ai-spring-boot-starters/spring-ai-starter-model-mistral-ai/pom.xml +++ b/spring-ai-spring-boot-starters/spring-ai-starter-model-mistral-ai/pom.xml @@ -42,6 +42,16 @@ spring-boot-starter + + org.springframework.boot + spring-boot-starter-webclient + + + + org.springframework.boot + spring-boot-starter-restclient + + org.springframework.ai spring-ai-autoconfigure-model-mistral-ai diff --git a/spring-ai-spring-boot-starters/spring-ai-starter-model-ollama/pom.xml b/spring-ai-spring-boot-starters/spring-ai-starter-model-ollama/pom.xml index 86f5a3d463d..30e88fba793 100644 --- a/spring-ai-spring-boot-starters/spring-ai-starter-model-ollama/pom.xml +++ b/spring-ai-spring-boot-starters/spring-ai-starter-model-ollama/pom.xml @@ -42,6 +42,16 @@ spring-boot-starter + + org.springframework.boot + spring-boot-starter-webclient + + + + org.springframework.boot + spring-boot-starter-restclient + + org.springframework.ai spring-ai-autoconfigure-model-ollama diff --git a/spring-ai-spring-boot-starters/spring-ai-starter-model-openai/pom.xml b/spring-ai-spring-boot-starters/spring-ai-starter-model-openai/pom.xml index 883eef615c1..aa77e5d2be1 100644 --- a/spring-ai-spring-boot-starters/spring-ai-starter-model-openai/pom.xml +++ b/spring-ai-spring-boot-starters/spring-ai-starter-model-openai/pom.xml @@ -42,6 +42,16 @@ spring-boot-starter + + org.springframework.boot + spring-boot-starter-webclient + + + + org.springframework.boot + spring-boot-starter-restclient + + org.springframework.ai spring-ai-autoconfigure-model-openai diff --git a/spring-ai-spring-boot-starters/spring-ai-starter-model-stability-ai/pom.xml b/spring-ai-spring-boot-starters/spring-ai-starter-model-stability-ai/pom.xml index 632b0c9a4eb..e763fe5665b 100644 --- a/spring-ai-spring-boot-starters/spring-ai-starter-model-stability-ai/pom.xml +++ b/spring-ai-spring-boot-starters/spring-ai-starter-model-stability-ai/pom.xml @@ -42,6 +42,16 @@ spring-boot-starter + + org.springframework.boot + spring-boot-starter-webclient + + + + org.springframework.boot + spring-boot-starter-restclient + + org.springframework.ai spring-ai-autoconfigure-model-stability-ai diff --git a/spring-ai-spring-boot-starters/spring-ai-starter-model-zhipuai/pom.xml b/spring-ai-spring-boot-starters/spring-ai-starter-model-zhipuai/pom.xml index c991a6c90dd..3667b3a8ff3 100644 --- a/spring-ai-spring-boot-starters/spring-ai-starter-model-zhipuai/pom.xml +++ b/spring-ai-spring-boot-starters/spring-ai-starter-model-zhipuai/pom.xml @@ -42,6 +42,16 @@ spring-boot-starter + + org.springframework.boot + spring-boot-starter-webclient + + + + org.springframework.boot + spring-boot-starter-restclient + + org.springframework.ai spring-ai-autoconfigure-model-zhipuai From 3e02644f7ec2459f231c64ded8483f358bb25841 Mon Sep 17 00:00:00 2001 From: Ilayaperumal Gopinathan Date: Tue, 25 Nov 2025 18:04:30 +0000 Subject: [PATCH 2/2] Fix vector store starters - Add `spring-boot-starter-restclient` to chroma - Add `spring-boot-starter-webclient` to gemfire Signed-off-by: Ilayaperumal Gopinathan --- .../spring-ai-starter-vector-store-chroma/pom.xml | 6 ++++++ .../spring-ai-starter-vector-store-gemfire/pom.xml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/spring-ai-spring-boot-starters/spring-ai-starter-vector-store-chroma/pom.xml b/spring-ai-spring-boot-starters/spring-ai-starter-vector-store-chroma/pom.xml index a924ce3c321..ad97540bfb8 100644 --- a/spring-ai-spring-boot-starters/spring-ai-starter-vector-store-chroma/pom.xml +++ b/spring-ai-spring-boot-starters/spring-ai-starter-vector-store-chroma/pom.xml @@ -40,6 +40,12 @@ org.springframework.boot spring-boot-starter + + + org.springframework.boot + spring-boot-starter-restclient + + org.springframework.ai spring-ai-autoconfigure-vector-store-chroma diff --git a/spring-ai-spring-boot-starters/spring-ai-starter-vector-store-gemfire/pom.xml b/spring-ai-spring-boot-starters/spring-ai-starter-vector-store-gemfire/pom.xml index ab3038fe26f..bce795dba06 100644 --- a/spring-ai-spring-boot-starters/spring-ai-starter-vector-store-gemfire/pom.xml +++ b/spring-ai-spring-boot-starters/spring-ai-starter-vector-store-gemfire/pom.xml @@ -40,6 +40,12 @@ org.springframework.boot spring-boot-starter + + + org.springframework.boot + spring-boot-starter-webclient + + org.springframework.ai spring-ai-autoconfigure-vector-store-gemfire