Expand description
Centralized error handling for LLM providers Eliminates duplicate error handling code across providers
Functions§
- extract_
human_ error_ message - Extract the most human-readable error message from a provider’s JSON error body.
- format_
http_ error - Format HTTP error with status code and message
- handle_
gemini_ http_ error - Handle HTTP response errors for Gemini provider