LemonAgent.ProviderConfigResolver (lemon_agent v0.1.0)

View Source

Resolves provider configuration from canonical config + env + secrets.

This module centralizes provider settings resolution so that provider implementations don't need to read env vars or secrets directly.

Each provider function returns a map of resolved settings that can be merged into StreamOptions or used directly by the provider.

Summary

Functions

Resolve stream options for a given provider from canonical config.

Functions

resolve_for_provider(provider_id, opts \\ %{})

@spec resolve_for_provider(atom(), map()) :: map()

Resolve stream options for a given provider from canonical config.

Returns a map of resolved settings. Keys with nil values are excluded.