Skip to content

Commit dad7721

Browse files
committed
remove redundant test
Signed-off-by: Christian Tzolov <[email protected]>
1 parent 6e4d95c commit dad7721

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

models/spring-ai-bedrock-converse/src/test/java/org/springframework/ai/bedrock/converse/client/BedrockNovaChatClientIT.java

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -212,28 +212,6 @@ void toolAnnotationWeatherForecastStreaming(String modelName) {
212212
assertThat(content).contains("20 degrees");
213213
}
214214

215-
@Test
216-
void streamingToolCallingWithArgumentlessToolSonnet() {
217-
218-
ChatClient chatClient = ChatClient.builder(this.chatModel).build();
219-
220-
Flux<ChatResponse> responses = chatClient.prompt()
221-
.tools(new DummyWeatherForecastTools())
222-
.options(ToolCallingChatOptions.builder().model("us.anthropic.claude-3-7-sonnet-20250219-v1:0").build())
223-
.user("Get current weather in Amsterdam")
224-
.stream()
225-
.chatResponse();
226-
227-
String content = responses.collectList()
228-
.block()
229-
.stream()
230-
.filter(cr -> cr.getResult() != null)
231-
.map(cr -> cr.getResult().getOutput().getText())
232-
.collect(Collectors.joining());
233-
234-
assertThat(content).contains("20 degrees");
235-
}
236-
237215
// https://github.com/spring-projects/spring-ai/issues/1878
238216
@Test
239217
void supplierBasedToolCalling() {

0 commit comments

Comments
 (0)