Expand description
Base traits and utilities for LLM providers
This module provides shared functionality to eliminate duplicate code across the 15+ LLM provider implementations.
Structs§
- Auth
Handler - Unified authentication header handling
- Base
Provider Config - Base configuration shared by all providers
- Error
Handler - Shared error handling utilities
- Model
Resolver - Common model resolution utilities
- Request
Processor - Shared request/response processing utilities
- Stream
Processor - Shared streaming utilities
Enums§
Constants§
- DEFAULT_
REQUEST_ TIMEOUT - Default timeout configurations
- DEFAULT_
STREAM_ TIMEOUT
Traits§
- OpenAI
Compatible Provider - Trait for providers that support standard OpenAI-compatible APIs