Skip to content

Commit e0a0a66

Browse files
committed
Fix logging levels
1 parent 5fe1962 commit e0a0a66

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

examples/src/voice_fn_examples/local.clj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
[voice-fn.transport :as transport]
1212
[voice-fn.utils.core :as u]))
1313

14+
(t/set-min-level! :debug)
15+
1416
(defn make-local-flow
1517
"This example showcases a voice AI agent for the local computer. Audio is
1618
usually encoded as PCM at 16kHz frequency (sample rate) and it is mono (1
@@ -117,7 +119,7 @@
117119
[[:audio-splitter :out] [:transport-out :in]]]
118120
extra-conns)})))
119121

120-
(def local-ai (make-local-flow))
122+
(def local-ai (make-local-flow {:debug? true}))
121123

122124
(comment
123125

src/voice_fn/processors/llm_context_aggregator.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ S: Start, E: End, T: Transcription, I: Interim, X: Text
116116
(not (nil? frame-data))
117117
(not= "" (str/trim frame-data)))
118118
,(let [new-agg (:frame/data frame)]
119-
(t/log! {:level :debug :id id} ["TRANSCRIPTION: " new-agg])
119+
(t/log! {:level :info :id id} ["TRANSCRIPTION: " new-agg])
120120
;; if we seen end frame, we send aggregation
121121
;; else
122122
(if aggregating?

0 commit comments

Comments
 (0)