MingaAgent.ProviderPacks.Native (Minga v0.1.0)

Copy Markdown View Source

Bundled source-owned provider pack for the native ReqLLM-backed provider.

The pack keeps the existing native provider id, model prefixes, capabilities, credential requirements, and implementation module while registering that declaration through the provider registry as a bundled source. Session code still owns credentials, retries, streaming events, costs, compaction, and provider lifecycle.

Summary

Types

Bundled native provider source.

Functions

Registers the native provider spec into a registry.

Returns the source used for native provider contributions.

Returns the bundled native provider spec.

Starts the bundled native provider pack registrar.

Types

source()

@type source() :: {:bundle, :native_provider}

Bundled native provider source.

Functions

register(registry \\ ProviderRegistry)

@spec register(GenServer.server()) :: :ok | {:error, term()}

Registers the native provider spec into a registry.

source()

@spec source() :: source()

Returns the source used for native provider contributions.

spec()

@spec spec() :: MingaAgent.Provider.Spec.t()

Returns the bundled native provider spec.

start_link(opts \\ [])

@spec start_link(keyword()) :: GenServer.on_start()

Starts the bundled native provider pack registrar.