Skip to main content

Module base

Module base 

Source
Expand description

Base trait and common implementations for LLM providers

This module provides a unified foundation for all LLM providers to eliminate code duplication across provider implementations.

Modules§

request_builder
Common request building utilities

Structs§

ProviderConfig
Base configuration shared by all providers

Traits§

BaseProvider
Base provider trait with common functionality

Functions§

handle_http_error
Common HTTP error handling for all providers
is_model_not_found
Check if error indicates model not found (common across providers)