TTS-Slots (Piper CPU, Qwen3-TTS auf Ada), M4000 außer Betrieb, Engine-Grenzen im Placement (ADR-0006)
ci / test (push) Successful in 24s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-12 02:12:30 +02:00
co-authored by Claude Opus 5.5
parent 0533f224f1
commit f90b7df31c
25 changed files with 586 additions and 23 deletions
+7 -1
View File
@@ -8,6 +8,7 @@ from dataclasses import dataclass
from prometheus_client import Gauge
from .audio import wav_duration
from .embeddings import Embedder
from .llm import ChatClient, LLMError
from .registry import Registry, Slot
@@ -51,7 +52,12 @@ class CanaryProber:
def probe(self, slot: Slot) -> ProbeResult:
start = time.monotonic()
try:
if slot.spec.kind == "embedding":
if slot.spec.kind == "tts":
speech = getattr(self.chat, "speech", None)
if speech is None:
return ProbeResult(slot.name, True, True, 0.0, "kein Speech-Client")
ok = wav_duration(speech(slot.spec.litellm_model, "Test.")) >= 0.2
elif slot.spec.kind == "embedding":
embedder = self.embedder_for.get(slot.name)
if embedder is None:
return ProbeResult(slot.name, True, True, 0.0, "kein Embedder konfiguriert")