Skip to content

The agent engineering platform.

chore(anthropic): vcr integration test (#34160)

ccurme7549845d82f3
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 0000000000..db85f4f341
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 5bb043eb9c..acd1a64e11 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"]
def test_response_format_in_agent() -> None:
class Weather(BaseModel):
temperature: float