File tree Expand file tree Collapse file tree 5 files changed +10
-21
lines changed
src/test/java/com/javaaidev/agenticpatterns/taskexecution Expand file tree Collapse file tree 5 files changed +10
-21
lines changed Original file line number Diff line number Diff line change 2222 <dependencies >
2323 <dependency >
2424 <groupId >org.springframework.ai</groupId >
25- <artifactId >spring-ai-core </artifactId >
25+ <artifactId >spring-ai-client-chat </artifactId >
2626 </dependency >
2727 <dependency >
2828 <groupId >org.jspecify</groupId >
Original file line number Diff line number Diff line change 1818 <maven .compiler.source>21</maven .compiler.source>
1919 <maven .compiler.target>21</maven .compiler.target>
2020 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
21- <spring-ai .version>1.0.0-M6 </spring-ai .version>
21+ <spring-ai .version>1.0.0-M7 </spring-ai .version>
2222 <spring-boot .version>3.4.3</spring-boot .version>
2323 </properties >
2424
7676 </dependency >
7777 <dependency >
7878 <groupId >org.springframework.ai</groupId >
79- <artifactId >spring-ai-openai-spring-boot-starter </artifactId >
79+ <artifactId >spring-ai-starter-model-openai </artifactId >
8080 </dependency >
8181 <dependency >
8282 <groupId >org.springframework.boot</groupId >
Original file line number Diff line number Diff line change 2121 </dependency >
2222 <dependency >
2323 <groupId >org.springframework.ai</groupId >
24- <artifactId >spring-ai-openai-spring-boot-starter </artifactId >
24+ <artifactId >spring-ai-starter-model-openai </artifactId >
2525 <scope >test</scope >
2626 </dependency >
2727 </dependencies >
Original file line number Diff line number Diff line change 1414class TaskExecutionAgentBuilderTest {
1515
1616 private final ChatClient chatClient = ChatClient .builder (
17- new OpenAiChatModel (new OpenAiApi (System .getenv ("OPENAI_API_KEY" )))).build ();
17+ OpenAiChatModel .builder ()
18+ .openAiApi (OpenAiApi .builder ()
19+ .apiKey (System .getenv ("OPENAI_API_KEY" ))
20+ .build ())
21+ .build ()).build ();
1822
1923 @ Test
2024 void testBuilder () {
Original file line number Diff line number Diff line change 5252 <maven .compiler.source>${java.version} </maven .compiler.source>
5353 <maven .compiler.target>${java.version} </maven .compiler.target>
5454 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
55- <spring-ai .version>1.0.0-M6 </spring-ai .version>
55+ <spring-ai .version>1.0.0-M7 </spring-ai .version>
5656 <micrometer .version>1.14.4</micrometer .version>
5757 </properties >
5858
168168 </plugins >
169169 </build >
170170
171- <repositories >
172- <repository >
173- <id >mavenCentral</id >
174- <url >https://repo1.maven.org/maven2/</url >
175- </repository >
176- <repository >
177- <id >spring-milestones</id >
178- <name >Spring Milestones</name >
179- <url >https://repo.spring.io/milestone</url >
180- <snapshots >
181- <enabled >false</enabled >
182- </snapshots >
183- </repository >
184- </repositories >
185-
186171 <profiles >
187172 <profile >
188173 <id >publish</id >
You can’t perform that action at this time.
0 commit comments