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_llm_success
Format an LLM success message for display with enhanced coloring
format_llm_warning
Format an LLM warning for display with enhanced coloring
style_llm_error
Get a styled error message with enhanced coloring
style_llm_success
Get a styled success message with enhanced coloring
style_llm_warning
Get a styled warning message with enhanced coloring
style_provider_name
Get a styled provider name with enhanced coloring based on provider type