Agentic.LLM.ProviderRegistry
(agentic v0.2.2)
Copy Markdown
Hybrid provider registration: compile-time list from
config :agentic, providers: [...], runtime enable/1 and
disable/1 calls.
Disabled state persists to the host's config via an optional
callback (worth uses Worth.Config).
Boot sequence
- Reads
Agentic.Config.providers/0for the compile-time list. - Marks providers as
:enabledunless previously disabled. - Exposes
list/0,enabled/0,enabled?/1,get/1.
Summary
Functions
Returns a specification to start this module under a supervisor.
Disable a provider by id.
Enable a provider by id.
List only enabled providers.
Check if a specific provider is enabled.
Get the module for a provider id. Returns nil if not registered.
List all registered providers (enabled and disabled).
Register a provider module at runtime.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
Disable a provider by id.
Enable a provider by id.
List only enabled providers.
Check if a specific provider is enabled.
Get the module for a provider id. Returns nil if not registered.
List all registered providers (enabled and disabled).
Register a provider module at runtime.