From 92b615f117f8081fd8888565f64ea875ed2481ba Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Tue, 11 Nov 2025 15:20:43 -0300 Subject: [PATCH] feat(bot): add trace log for LLM prompt in BotOrchestrator Added a trace-level log statement to output the constructed LLM prompt in BotOrchestrator. This helps with debugging by making the prompt content visible in logs when trace logging is enabled. The change maintains existing functionality while improving observability. --- src/bot/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bot/mod.rs b/src/bot/mod.rs index b750a16de..69e5ac215 100644 --- a/src/bot/mod.rs +++ b/src/bot/mod.rs @@ -444,7 +444,7 @@ impl BotOrchestrator { "Stream prompt constructed with {} history entries", history.len() ); - + trace!("LLM prompt: [{}]", prompt); let (stream_tx, mut stream_rx) = mpsc::channel::(100); let llm = self.state.llm_provider.clone();