Skip to main content

Module error_display

Module error_display 

Source
Expand description

LLM error display utilities with enhanced ANSI color support

This module provides enhanced error display capabilities for LLM providers using standard console styling for consistent terminal output.

Functions§

format_llm_error
Format an LLM error for display with enhanced coloring
format_network_error
Format a network error for display with enhanced coloring. This is a convenience wrapper for the common “Network error: {}” pattern.
format_parse_error
Format a parse error for display with enhanced coloring. This is a convenience wrapper for the common “Parse error: {}” pattern.