Registers model routes that run inside Minga's agent loop.
Call register/2 from your extension's init/1 and keep the returned reporter. report_status/2 works from any process.
This is a compile-time stub. At runtime, the real module in Minga's BEAM VM provides the implementation.
Summary
Types
Functions
@spec register(map() | keyword(), keyword()) :: {:ok, MingaAgent.InferenceRoute.Reporter.t()} | {:error, register_error()}
@spec report_status(MingaAgent.InferenceRoute.Reporter.t(), term(), keyword()) :: :ok | {:error, report_error()}
@spec report_usage( MingaAgent.InferenceRoute.Reporter.t(), [MingaAgent.InferenceRoute.PlanWindow.t() | map()], keyword() ) :: :ok | {:error, report_error() | {:invalid_plan_window, atom()}}