Backplane.AgentRuntime.Codex.Result (backplane_agent_runtime v1.10.15)

Copy Markdown

Provider-facing result shaping without discarding structured content.

Summary

Functions

failure(error)

@spec failure(Backplane.AgentRuntime.Error.t() | term()) :: map()

success(result, opts \\ [])

@spec success(map(), keyword()) ::
  {:ok, map()} | {:error, Backplane.AgentRuntime.Error.t()}