Skip to content

The agent engineering platform.

fix: compaction typo (#35467)

John Kennedye939c96792f6
diff --git a/libs/partners/openai/tests/integration_tests/chat_models/test_responses_api.py b/libs/partners/openai/tests/integration_tests/chat_models/test_responses_api.py
index e9321d9c1c..56c9e4595f 100644
--- a/libs/partners/openai/tests/integration_tests/chat_models/test_responses_api.py
+++ b/libs/partners/openai/tests/integration_tests/chat_models/test_responses_api.py
@@ -1114,7 +1114,7 @@ def test_custom_tool(output_version: Literal["responses/v1", "v1"]) -> None:
@pytest.mark.vcr
@pytest.mark.parametrize("output_version", ["responses/v1", "v1"])
def test_compaction(output_version: Literal["responses/v1", "v1"]) -> None:
- """Test the compation beta feature."""
+ """Test the compaction beta feature."""
llm = ChatOpenAI(
model="gpt-5.2",
context_management=[{"type": "compaction", "compact_threshold": 10_000}],
@@ -1160,7 +1160,7 @@ def test_compaction(output_version: Literal["responses/v1", "v1"]) -> None:
@pytest.mark.vcr
@pytest.mark.parametrize("output_version", ["responses/v1", "v1"])
def test_compaction_streaming(output_version: Literal["responses/v1", "v1"]) -> None:
- """Test the compation beta feature."""
+ """Test the compaction beta feature."""
llm = ChatOpenAI(
model="gpt-5.2",
context_management=[{"type": "compaction", "compact_threshold": 10_000}],