Skip to content

Commit 5cbc3c6

Browse files
committed
Remove ambiguous test from ChatClientToolsWithGenericArgumentTypesIT
Signed-off-by: Ilayaperumal Gopinathan <[email protected]>
1 parent 0f95508 commit 5cbc3c6

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

models/spring-ai-openai/src/test/java/org/springframework/ai/openai/chat/client/ChatClientToolsWithGenericArgumentTypesIT.java

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -57,24 +57,6 @@ void beforeEach() {
5757
@Autowired
5858
ChatModel chatModel;
5959

60-
@Test
61-
void toolWithGenericArgumentTypes2() {
62-
// @formatter:off
63-
String response = ChatClient.create(this.chatModel).prompt()
64-
.user("Turn light YELLOW in the living room and the kitchen. You can violate the color enum for this request.")
65-
.tools(new TestToolProvider())
66-
.call()
67-
.content();
68-
// @formatter:on
69-
70-
logger.info("Response: {}", response);
71-
72-
assertThat(arguments).containsEntry("living room", LightColor.RED);
73-
assertThat(arguments).containsEntry("kitchen", LightColor.RED);
74-
75-
assertThat(callCounter.get()).isEqualTo(1);
76-
}
77-
7860
@Test
7961
void toolWithGenericArgumentTypes() {
8062
// @formatter:off

0 commit comments

Comments
 (0)