A2UICore.Message.Operation.AgentFunctionResponse (A2UICore v0.1.1)

Copy Markdown View Source

An agentFunctionResponse message (v1.0): the agent's answer to the renderer's call function_call_id, either a value or an error map with "code" and "message".

Summary

Types

t()

(since 0.1.0)
@type t() :: %A2UICore.Message.Operation.AgentFunctionResponse{
  error: %{optional(String.t()) => term()} | nil,
  function_call_id: String.t(),
  value: term() | nil,
  version: String.t()
}