Documentation
¶
Overview ¶
Package provider provides internal provider detection and initialization.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Detect ¶
Detect attempts to detect a provider from environment variables and create it. If apiKey is provided, it uses that instead of environment detection. If model is provided, it overrides the default model and may determine the provider. Returns the provider or an error if none can be detected.
Types ¶
Click to show internal directories.
Click to hide internal directories.