From e939c96792f6478bd940794c99d2d819067d0899 Mon Sep 17 00:00:00 2001 From: John Kennedy <65985482+jkennedyvz@users.noreply.github.com> Date: Fri, 27 Feb 2026 11:30:37 -0800 Subject: [PATCH] fix: compaction typo (#35467) _This PR applies 2/2 suggestions from code quality [AI findings](https://github.com/langchain-ai/langchain/security/quality/ai-findings)._ --------- Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --- .../tests/integration_tests/chat_models/test_responses_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 e9321d9c1c8..56c9e4595f7 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}],