class LittleGhost::Providers::Base

Shared provider contract. Provider adapters implement stream and may implement embed or override capability-sensitive request preparation.

LittleGhost may call one provider instance concurrently. An embedding adapter accepts Embeddings::Request, observes its cancellation and deadline, and returns Embeddings::Response. Provider failures should use a content-safe ProviderError subclass.