Provides API endpoints related to v2 providers
Summary
Functions
@spec v2_provider_get(providerID :: String.t(), opts :: keyword()) :: {:ok, OpenCode.Generated.ProviderV2Info.t()} | {:error, OpenCode.Generated.NotFoundError.t()}
Get v2 provider
Retrieve a single v2 AI provider so clients can inspect its availability and endpoint settings.
Options
location
@spec v2_provider_list(opts :: keyword()) :: {:ok, [OpenCode.Generated.ProviderV2Info.t()]} | :error
List v2 providers
Retrieve active v2 AI providers so clients can show provider availability and configuration.
Options
location