Add parser debug logging (POC_DEBUG=1)
Logs full text length, <tool_call> tag count, and tool call details on stream completion. Helps diagnose parsing issues with subconscious agents. Co-Authored-By: Proof of Concept <poc@bcachefs.org>
This commit is contained in:
parent
119dc8c146
commit
473909db47
2 changed files with 25 additions and 2 deletions
|
|
@ -112,7 +112,6 @@ impl AutoAgent {
|
|||
}
|
||||
}
|
||||
|
||||
/// Run standalone — TODO: needs rewrite to use completions API
|
||||
pub async fn run(
|
||||
&mut self,
|
||||
_bail_fn: Option<&(dyn Fn(usize) -> Result<(), String> + Sync)>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue