Skip to main content

Module diagnostics

Module diagnostics 

Source
Expand description

Bounded user-facing diagnostics. Preserve diagnostic content while removing terminal/format controls and truncating text to the display budget.

Functionsยง

detail
error_chain
headline
internal
internal_fallback
model
rpc
Only diagnostic fields are selected from RPC data. Debug remains redacted.
run_error
sanitize
Preserve LF/tab, remove terminal/format controls, and truncate at UTF-8 boundaries.
tool
tool_result