Skip to main content

tools_stream_debug_enabled

Function tools_stream_debug_enabled 

Source
pub fn tools_stream_debug_enabled() -> bool
Expand description

When LLMOXIDE_DEBUG_TOOLS_STREAM is 1, true, or yes, ToolRunnerStream logs diagnostics to stderr (provider, rounds, tool-call counts, response summaries).

Anthropic SSE tracing uses the same env values as LLMOXIDE_DEBUG_ANTHROPIC_STREAM (or LLMOXIDE_DEBUG_TOOLS_STREAM): stderr lines prefixed with [llmoxide anthropic stream].