fix: address M3 verifier findings on soak invariants and probe tests

This commit is contained in:
2026-07-22 02:21:33 -04:00
parent fdd36e0e1f
commit 3c9f306ea3
8 changed files with 126 additions and 12 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ class TestLiveEndpoints:
async def test_recognize_text_returns_content(self):
async with OcrClient.from_env("OCR", env=_env({1: _PRIMARY})) as client:
result = await client.recognize_text(_TABLE_IMAGE.read_bytes())
assert result.text.strip() # 真实护理记录图必有文字
assert result.text.strip() # 取证样本已核: 该图含可识别文字
assert result.source_name == "monkey_1"
assert result.usage.prompt_tokens == 0 and result.latency_ms > 0