Expand description
LLM provider integrations for agent-diva
This crate provides abstractions and implementations for various LLM providers.
Re-exports§
pub use base::LLMProvider;pub use base::LLMResponse;pub use base::LLMStreamEvent;pub use base::Message;pub use base::ProviderError;pub use base::ProviderEventStream;pub use base::ProviderResult;pub use base::ToolCallRequest;pub use catalog::CustomProviderUpsert;pub use catalog::ProviderCatalogService;pub use catalog::ProviderModelCatalogView;pub use catalog::ProviderModelEntry;pub use catalog::ProviderModelSource;pub use catalog::ProviderSource;pub use catalog::ProviderView;pub use discovery::fetch_provider_model_catalog;pub use discovery::ModelCatalogSource;pub use discovery::ProviderAccess;pub use discovery::ProviderModelCatalog;pub use litellm::LiteLLMClient;pub use registry::ProviderRegistry;pub use registry::ProviderSpec;
Modules§
- base
- Base trait for LLM providers
- catalog
- discovery
- litellm
- LiteLLM HTTP client implementation
- registry
- Provider registry - single source of truth for LLM provider metadata
- transcription
- Voice transcription services using Groq Whisper API
Structs§
- Dynamic
Provider - A provider that allows hot-swapping the underlying implementation