test(python): restore strict live response smoke

This commit is contained in:
_Kerman
2026-08-27 16:25:12 +08:00
parent eeb4ca2b87
commit 9e184cde37
+1 -1
View File
@@ -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}")