feat(archivar): Telemetrie um STAY/UNSICHER/TIMEOUT-Unterscheidung erweitern
Auftrag t_5e4863c6 — Routing-Telemetrie differenziert jetzt: - llm_stay_sicher — LLM sagte STAY (sicher), kein Red Flag, kein Cloud-Call - llm_unsicher — LLM sagte UNSICHER, Red Flag (Cloud-Call) - llm_timeout — LLM timeoutete (separat von llm_unavailable) - cloud_call_stay — Cloud-Agent endete mit STAY (Cloud-Call ohne Routing-Effekt) - cloud_call_route — Cloud-Agent entschied ROUTE (Cloud-Call mit Wirkung) - no_llm_needed — Nachricht vor Stufe 4 entschieden (FAISS/Keyword/Smalltalk) Abwärtskompatibel: llm_stay und llm_unavailable bleiben unverändert. ::status zeigt die neuen Zähler in einer Routing-Telemetrie-Sektion. 10 neue Tests (test_telemetry_stay_unsicher_timeout.py).
This commit is contained in:
@@ -87,7 +87,7 @@ class RoutingTelemetry:
|
||||
Args:
|
||||
stage: 'keyword_100' | 'context_keyword' | 'faiss' | 'llm' | 'default'
|
||||
score: FAISS-Score, LLM-Confidence, 1.0 bei 100%-Match, 0.0 bei Default
|
||||
decision: 'route' | 'stay' | 'butler' | 'timeout'
|
||||
decision: 'route' | 'stay' | 'butler' | 'timeout' | 'unsicher'
|
||||
target: Zielraum-ID (oder '' bei stay)
|
||||
origin: Ursprungsraum-ID
|
||||
duration_ms: Dauer der Stufe in Millisekunden
|
||||
|
||||
Reference in New Issue
Block a user