Expand description
Model Provider Abstraction Layer
This module defines the core traits and types for integrating with various LLM providers. It provides a unified interface that abstracts away provider-specific details.
Structs§
- Generation
Config - Configuration for model generation requests
- Model
Response - Response from a model generation request
- Provider
Metadata - Provider metadata
- Token
Usage - Token usage statistics
- Tool
Call - Tool call from a model response
Enums§
- Provider
Kind - Types of model providers
Traits§
- Model
Provider - Core trait that all model providers must implement
Functions§
- parse_
thinking_ tokens - Parse thinking/reasoning tokens from model response