Skip to content

Commit 355b883

Browse files
committed
Disable OpenAiChatModelIT#streamWebSearchAnnotationsTest
- The OpenAI gpt-4o-search-preview model doesn't seem to return web search annotations in streaming mode. - This needs investigation and disabling the test for now. - Created #4809 to track this Signed-off-by: Ilayaperumal Gopinathan <[email protected]>
1 parent 26f1951 commit 355b883

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
import java.util.stream.IntStream;
3030

3131
import org.assertj.core.data.Percentage;
32+
import org.junit.jupiter.api.Disabled;
3233
import org.junit.jupiter.api.Test;
3334
import org.junit.jupiter.api.condition.EnabledIfEnvironmentVariable;
3435
import org.junit.jupiter.params.ParameterizedTest;
@@ -751,6 +752,7 @@ void webSearchAnnotationsTest() {
751752
}
752753

753754
@Test
755+
@Disabled("OpenAI gpt-4o-search-preview model doesn't seem to return web search annotations in streaming mode.")
754756
void streamWebSearchAnnotationsTest() {
755757
UserMessage userMessage = new UserMessage("What is the weather in San Francisco?");
756758

0 commit comments

Comments
 (0)