diff --git a/tests/test_proxy_resent.py b/tests/test_proxy_resent.py index f3259dc1..0dd40186 100644 --- a/tests/test_proxy_resent.py +++ b/tests/test_proxy_resent.py @@ -201,11 +201,13 @@ class OnlyAClientThatLeftBeforeAnyAnswerCounts(unittest.TestCase): # v6.50: "CLIENT GONE during pair" is a client that left a request this box sent to its peer # (role 10). Not counted here: the request went on before its prompt was fingerprinted, and the # peer's own proxy, which computed the prompt, counts its caller leaving it. v6.66: nor is "CLIENT GONE during - # embeddings", a request of /v1/embeddings, which has no prompt: it is ended at its lane + # embeddings", a request of /v1/embeddings, which has no prompt: it is ended at its lane. v6.69: nor are + # "CLIENT GONE during ocr" and "... during ocr stream", a request of /v1/ocr, whose document is no prompt + # the guard fingerprints: it is ended at the lane self.assertEqual(written, {"CLIENT GONE before its body", "CLIENT GONE during hold", "CLIENT GONE during keepalive", "CLIENT GONE before the engine answered", "CLIENT GONE during non-sse wait", "CLIENT GONE mid-systemone", "CLIENT GONE on write", "CLIENT GONE during pair", - "CLIENT GONE during embeddings"}, + "CLIENT GONE during embeddings", "CLIENT GONE during ocr", "CLIENT GONE during ocr stream"}, "a new way: say here whether it is a client that left before any answer") counted = {o for o in written if self.gave_up(o)} self.assertEqual(counted, {"CLIENT GONE during keepalive", "CLIENT GONE before the engine answered",