Skip to content

Commit e939c96

Browse files
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>
1 parent c600b93 commit e939c96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libs/partners/openai/tests/integration_tests/chat_models/test_responses_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,7 +1114,7 @@ def execute_code(code: str) -> str:
11141114
@pytest.mark.vcr
11151115
@pytest.mark.parametrize("output_version", ["responses/v1", "v1"])
11161116
def test_compaction(output_version: Literal["responses/v1", "v1"]) -> None:
1117-
"""Test the compation beta feature."""
1117+
"""Test the compaction beta feature."""
11181118
llm = ChatOpenAI(
11191119
model="gpt-5.2",
11201120
context_management=[{"type": "compaction", "compact_threshold": 10_000}],
@@ -1160,7 +1160,7 @@ def test_compaction(output_version: Literal["responses/v1", "v1"]) -> None:
11601160
@pytest.mark.vcr
11611161
@pytest.mark.parametrize("output_version", ["responses/v1", "v1"])
11621162
def test_compaction_streaming(output_version: Literal["responses/v1", "v1"]) -> None:
1163-
"""Test the compation beta feature."""
1163+
"""Test the compaction beta feature."""
11641164
llm = ChatOpenAI(
11651165
model="gpt-5.2",
11661166
context_management=[{"type": "compaction", "compact_threshold": 10_000}],

0 commit comments

Comments
 (0)