Documentation ¶ Index ¶ Constants func Factory(cfg Config) (litellm.Provider, error) func New(cfg Config) (*compat.Provider, error) func NewClient(cfg Config, opts ...litellm.ClientOption) (*litellm.Client, error) type Config Constants ¶ View Source const ( ProviderOptionCacheRetention = "cache_retention" ProviderOptionSessionID = "session_id" ) Variables ¶ This section is empty. Functions ¶ func Factory ¶ func Factory(cfg Config) (litellm.Provider, error) func New ¶ func New(cfg Config) (*compat.Provider, error) func NewClient ¶ func NewClient(cfg Config, opts ...litellm.ClientOption) (*litellm.Client, error) NewClient builds the provider from cfg and wraps it in a ready *litellm.Client. It is a convenience for the common single-provider case. It calls New(cfg) and then litellm.New(provider, opts...). Types ¶ type Config ¶ type Config = compat.Config Source Files ¶ View all Source files client.goprovider.go Click to show internal directories. Click to hide internal directories.