From c3468623ea3548340a99cac87da99a3f4aa3696b Mon Sep 17 00:00:00 2001 From: _Kerman Date: Wed, 26 Aug 2026 15:14:49 +0800 Subject: [PATCH] test(python-sdk): accept explanatory live responses --- 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 b905c8ac5f..7c766fcf29 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 result.final_response.strip() != LIVE_API_SENTINEL: + if LIVE_API_SENTINEL not in result.final_response: 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}")