File tree 1 file changed +0
-12
lines changed
libs/partners/openai/tests/integration_tests/chat_models
1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -736,12 +736,6 @@ async def test_openai_response_headers_async(use_responses_api: bool) -> None:
736
736
assert "content-type" in headers
737
737
738
738
739
- @pytest .mark .xfail (
740
- reason = (
741
- "As of 12.19.24 OpenAI API returns 1151 instead of 1118. Not clear yet if "
742
- "this is an undocumented API change or a bug on their end."
743
- )
744
- )
745
739
def test_image_token_counting_jpeg () -> None :
746
740
model = ChatOpenAI (model = "gpt-4o" , temperature = 0 )
747
741
image_url = "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/2560px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg"
@@ -774,12 +768,6 @@ def test_image_token_counting_jpeg() -> None:
774
768
assert expected == actual
775
769
776
770
777
- @pytest .mark .xfail (
778
- reason = (
779
- "As of 12.19.24 OpenAI API returns 871 instead of 779. Not clear yet if "
780
- "this is an undocumented API change or a bug on their end."
781
- )
782
- )
783
771
def test_image_token_counting_png () -> None :
784
772
model = ChatOpenAI (model = "gpt-4o" , temperature = 0 )
785
773
image_url = "https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png"
You can’t perform that action at this time.
0 commit comments