mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-19 00:58:32 +00:00
fix(perplexity): undo xfails (#32192)
This commit is contained in:
@@ -24,22 +24,4 @@ class TestPerplexityStandard(ChatModelIntegrationTests):
|
|||||||
def test_stop_sequence(self, model: BaseChatModel) -> None:
|
def test_stop_sequence(self, model: BaseChatModel) -> None:
|
||||||
super().test_stop_sequence(model)
|
super().test_stop_sequence(model)
|
||||||
|
|
||||||
@pytest.mark.xfail(reason="TODO, this regressed for some reason after 2025-04-15")
|
# TODO, API regressed for some reason after 2025-04-15
|
||||||
@pytest.mark.parametrize("schema_type", ["pydantic", "typeddict", "json_schema"])
|
|
||||||
def test_structured_output(self, model: BaseChatModel, schema_type: str) -> None:
|
|
||||||
super().test_structured_output(model, schema_type)
|
|
||||||
|
|
||||||
@pytest.mark.xfail(reason="TODO, this regressed for some reason after 2025-04-15")
|
|
||||||
@pytest.mark.parametrize("schema_type", ["pydantic", "typeddict", "json_schema"])
|
|
||||||
async def test_structured_output_async(
|
|
||||||
self, model: BaseChatModel, schema_type: str
|
|
||||||
) -> None:
|
|
||||||
await super().test_structured_output_async(model, schema_type)
|
|
||||||
|
|
||||||
@pytest.mark.xfail(reason="TODO, this regressed for some reason after 2025-04-15")
|
|
||||||
def test_structured_output_pydantic_2_v1(self, model: BaseChatModel) -> None:
|
|
||||||
super().test_structured_output_pydantic_2_v1(model)
|
|
||||||
|
|
||||||
@pytest.mark.xfail(reason="TODO, this regressed for some reason after 2025-04-15")
|
|
||||||
def test_structured_output_optional_param(self, model: BaseChatModel) -> None:
|
|
||||||
super().test_structured_output_optional_param(model)
|
|
||||||
|
Reference in New Issue
Block a user