Backplane.AgentRuntime.Codex.Invocation (backplane_agent_runtime v1.10.7)

Copy Markdown

Lossless decoding of Codex function and custom/raw tool calls.

Raw custom input is retained verbatim for approval and backend handling. A partial stream is never executable until complete?/1 is true.

Summary

Functions

append_chunk(invocation, chunk)

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

complete?(arg1)

@spec complete?(map()) :: boolean()

decode(call, contracts)

@spec decode(map(), map() | [map()]) ::
  {:ok, map()} | {:error, Backplane.AgentRuntime.Error.t()}

finish(invocation)

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