From 20e9b8724808bad28e33fa5a9c1a1da28735a755 Mon Sep 17 00:00:00 2001 From: sora <2075279110@qq.com> Date: Fri, 11 Sep 2026 02:49:06 +0000 Subject: [PATCH] Probe success line as a full sentence: model name, endpoint, response time, pool size, and what happens next Co-Authored-By: Claude --- evalharness/model/runner.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/evalharness/model/runner.py b/evalharness/model/runner.py index 14bada6..a769f1c 100644 --- a/evalharness/model/runner.py +++ b/evalharness/model/runner.py @@ -555,12 +555,14 @@ async def _probe_model(adapter, model_spec: str) -> None: dur = time.monotonic() - _probe_model._t0 if hasattr(_probe_model, '_t0') else 0.0 name = getattr(members[0], 'model', '') or '?' url = members[0].api_base - txt = (f'· model endpoint ok · model={name} · endpoint={url} · ' - f'instances={len(members)} · probe={dur:.1f}s') + txt = (f'· Model endpoint verified: "{name}" responded at {url} ' + f'in {dur:.1f}s ({len(members)} instance(s) in pool) -- ' + f'generation will use this endpoint') if _sys.stdout.isatty(): # color the machine-relevant facts on terminals - txt = (f'· model endpoint ok · model=\x1b[1m{name}\x1b[0m · ' - f'endpoint=\x1b[36m{url}\x1b[0m · ' - f'instances={len(members)} · probe={dur:.1f}s') + txt = (f'· Model endpoint verified: "\x1b[1m{name}\x1b[0m" responded at ' + f'\x1b[36m{url}\x1b[0m in {dur:.1f}s ' + f'({len(members)} instance(s) in pool) -- ' + f'generation will use this endpoint') print(txt, flush=True) # probe runs before status_callback exists _PROBED_SPECS.add(model_spec)