pub fn set_show_diagnostics(enabled: bool)
Set whether diagnostics (ERROR-level logs, warnings) should be displayed in the TUI. Driven by ui.show_diagnostics_in_transcript in vtcode.toml.
ui.show_diagnostics_in_transcript