From 9e184cde37107e87a5caee55ca0206a729533c6d Mon Sep 17 00:00:00 2001 From: _Kerman Date: Thu, 27 Aug 2026 16:25:12 +0800 Subject: [PATCH] test(python): restore strict live response smoke --- scripts/smoke-python-runtime.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/smoke-python-runtime.py b/scripts/smoke-python-runtime.py index 7c766fcf29..b905c8ac5f 100644 --- a/scripts/smoke-python-runtime.py +++ b/scripts/smoke-python-runtime.py @@ -884,7 +884,7 @@ def smoke_sdk_live() -> None: f"{label} turn made no model-requested tool call; " f"final={result.final_response!r}" ) - if LIVE_API_SENTINEL not in result.final_response: + if result.final_response.strip() != LIVE_API_SENTINEL: raise AssertionError(f"{label} turn returned {result.final_response!r}") if not marker.is_file(): raise AssertionError(f"real-model tool turn did not create {marker}")