chore(F542): @implements Batch 2a — 4 Multi-Feature-Dateien @implements: [F-542]

This commit is contained in:
Bernd (Hermes)
2026-09-17 14:37:50 +02:00
parent 5027738342
commit 4ea711c2db
5 changed files with 23 additions and 1 deletions
+4
View File
@@ -25,6 +25,8 @@ der Check erkennen. Es verwendet nur stdlib (urllib, json, os, pathlib) plus
`config` (das selbst nur json/os importiert).
"""
# @implements: [F-092] — Archivar Self-Check nach Gateway-Start
from __future__ import annotations
import json
@@ -230,6 +232,8 @@ def _probe_llm_room_e2e(
) -> Tuple[bool, float, str]:
"""Stufe 4b (F100): Router-E2E-Probe — POST /api/generate mit Mini-Prompt.
# @implements: [F-100] — Archivar Self-Check Stufe 4b + Runtime-Watchdog
Smoke-Test (K1): prüft, dass Modell + Endpoint überhaupt antworten.
Antwort-Validierung: enthält "STAY" (case-insensitive trim) UND Latenz
≤ timeout. Bei jedem Fehler (HTTP, Timeout, Parse): ok=False.