From 34ecdcbfdeb141331a928978579e4973433c8a63 Mon Sep 17 00:00:00 2001 From: Thales Maciel Date: Sat, 7 Feb 2026 16:12:24 -0300 Subject: [PATCH] Tidy AI logging --- src/leld.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/leld.py b/src/leld.py index bb8fa34..cc9228c 100755 --- a/src/leld.py +++ b/src/leld.py @@ -46,7 +46,6 @@ class Daemon: if cfg.ai_enabled: self.ai = build_processor( AIConfig( - provider=cfg.ai_provider, model=cfg.ai_model, temperature=cfg.ai_temperature, system_prompt_file=cfg.ai_system_prompt_file, @@ -128,11 +127,11 @@ class Daemon: self.set_state(State.TRANSCRIBING) text = self.stt.transcribe(record.wav_path) except Exception as exc: - logging.error("whisper failed: %s", exc) + logging.error("stt failed: %s", exc) self.set_state(State.IDLE) return - logging.info("transcript: %s", text) + logging.info("stt: %s", text) if self.ai: self.set_state(State.PROCESSING) @@ -141,7 +140,7 @@ class Daemon: except Exception as exc: logging.error("ai process failed: %s", exc) - logging.info("output: %s", text) + logging.info("processed: %s", text) try: self.set_state(State.OUTPUTTING)