diff --git a/libs/partners/anthropic/tests/cassettes/test_response_format_in_agent.yaml.gz b/libs/partners/anthropic/tests/cassettes/test_response_format_in_agent.yaml.gz new file mode 100644 index 00000000000..db85f4f3411 Binary files /dev/null and b/libs/partners/anthropic/tests/cassettes/test_response_format_in_agent.yaml.gz differ diff --git a/libs/partners/anthropic/tests/integration_tests/test_chat_models.py b/libs/partners/anthropic/tests/integration_tests/test_chat_models.py index 5bb043eb9ca..acd1a64e119 100644 --- a/libs/partners/anthropic/tests/integration_tests/test_chat_models.py +++ b/libs/partners/anthropic/tests/integration_tests/test_chat_models.py @@ -700,6 +700,7 @@ def test_response_format(schema: dict | type) -> None: assert parsed["age"] +@pytest.mark.vcr def test_response_format_in_agent() -> None: class Weather(BaseModel): temperature: float