Error rendering for the CLI: clean Error: lines instead of tracebacks.
Built with rich.text.Text (not markup) so user-controlled strings — paths,
model names — cannot inject styling.
Copyright 2025 Ambiq. All Rights Reserved.
Classes
Functions
print_error
print_error(exc: Exception) -> None
Render a user-facing error to stderr.
print_interrupted
print_interrupted() -> None
Render a clean interruption notice (Ctrl-C).