@@ -100,13 +100,15 @@ def test_ai21_llm_sync(langchain_community, request_vcr):
100
100
llm .invoke ("Why does everyone in Bikini Bottom hate Plankton?" )
101
101
102
102
103
+ @flaky (until = 1754218112 , reason = "Problematic test that needs fixing" )
103
104
@pytest .mark .snapshot (ignores = IGNORE_FIELDS )
104
105
def test_openai_chat_model_sync_call_langchain_openai (langchain_openai , request_vcr ):
105
106
chat = langchain_openai .ChatOpenAI (temperature = 0 , max_tokens = 256 )
106
107
with request_vcr .use_cassette ("openai_chat_completion_sync_call.yaml" ):
107
108
chat .invoke (input = [langchain .schema .HumanMessage (content = "When do you use 'whom' instead of 'who'?" )])
108
109
109
110
111
+ @flaky (until = 1754218112 , reason = "Problematic test that needs fixing" )
110
112
@pytest .mark .skipif (LANGCHAIN_VERSION < (0 , 3 ), reason = "Requires at least LangChain 0.3" )
111
113
@pytest .mark .snapshot (ignores = IGNORE_FIELDS )
112
114
def test_openai_chat_model_sync_generate (langchain_openai , request_vcr ):
@@ -128,6 +130,7 @@ def test_openai_chat_model_sync_generate(langchain_openai, request_vcr):
128
130
)
129
131
130
132
133
+ @flaky (until = 1754218112 , reason = "Problematic test that needs fixing" )
131
134
@pytest .mark .snapshot (ignores = IGNORE_FIELDS )
132
135
def test_openai_chat_model_vision_generate (langchain_openai , request_vcr ):
133
136
"""
@@ -472,6 +475,7 @@ def test_streamed_llm(langchain_openai, streamed_response_responder):
472
475
pass
473
476
474
477
478
+ @flaky (until = 1754218112 , reason = "Problematic test that needs fixing" )
475
479
@pytest .mark .snapshot (
476
480
ignores = IGNORE_FIELDS ,
477
481
token = "tests.contrib.langchain.test_langchain.test_streamed_chain" ,
@@ -496,6 +500,7 @@ async def test_astreamed_chain(langchain_core, langchain_openai, async_streamed_
496
500
pass
497
501
498
502
503
+ @flaky (until = 1754218112 , reason = "Problematic test that needs fixing" )
499
504
@pytest .mark .snapshot (
500
505
ignores = IGNORE_FIELDS ,
501
506
token = "tests.contrib.langchain.test_langchain.test_streamed_chat" ,
0 commit comments