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.
This commit is contained in:
parent
1a47355834
commit
92b615f117
1 changed files with 1 additions and 1 deletions
|
|
@ -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::<String>(100);
|
||||
let llm = self.state.llm_provider.clone();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue