Shared run/stream/resolve_provider logic used by all inference task modules.
Summary
Functions
@spec run(HuggingfaceClient.Client.t(), map(), String.t()) :: {:ok, map()} | {:error, Exception.t()}
Executes a non-streaming inference task.
@spec stream(HuggingfaceClient.Client.t(), map(), String.t()) :: {:ok, Enumerable.t()} | {:error, Exception.t()}
Executes a streaming inference task.