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
ee442b1d5c
commit
979b205cdb
1 changed files with 1 additions and 1 deletions
|
|
@ -444,7 +444,7 @@ impl BotOrchestrator {
|
||||||
"Stream prompt constructed with {} history entries",
|
"Stream prompt constructed with {} history entries",
|
||||||
history.len()
|
history.len()
|
||||||
);
|
);
|
||||||
|
trace!("LLM prompt: [{}]", prompt);
|
||||||
let (stream_tx, mut stream_rx) = mpsc::channel::<String>(100);
|
let (stream_tx, mut stream_rx) = mpsc::channel::<String>(100);
|
||||||
let llm = self.state.llm_provider.clone();
|
let llm = self.state.llm_provider.clone();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue