From 4efbdd9822a8dc8df91e645af9b1c5ced13de61e Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Tue, 24 Feb 2026 20:11:57 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- api/core/mcp/server/streamable_http.py | 1 - api/tests/unit_tests/core/mcp/server/test_streamable_http.py | 1 - 2 files changed, 2 deletions(-) diff --git a/api/core/mcp/server/streamable_http.py b/api/core/mcp/server/streamable_http.py index 7a98f40c66..b8047422e9 100644 --- a/api/core/mcp/server/streamable_http.py +++ b/api/core/mcp/server/streamable_http.py @@ -221,7 +221,6 @@ def process_streaming_response(response: RateLimitGenerator) -> str: return answer or last_thought - def process_mapping_response(app: App, response: Mapping) -> str: """Process mapping response based on app mode""" if app.mode in { diff --git a/api/tests/unit_tests/core/mcp/server/test_streamable_http.py b/api/tests/unit_tests/core/mcp/server/test_streamable_http.py index f6e95c124f..fb361bb59c 100644 --- a/api/tests/unit_tests/core/mcp/server/test_streamable_http.py +++ b/api/tests/unit_tests/core/mcp/server/test_streamable_http.py @@ -401,7 +401,6 @@ class TestUtilityFunctions: assert result == "more thinking" - def test_process_mapping_response_invalid_mode(self): """Test processing mapping response with invalid app mode""" app = Mock(spec=App)