A2aEngine.Types.MessageSendConfiguration (a2a_engine v0.1.0)

Copy Markdown View Source

Optional configuration block for message/send and message/stream params.

Wire fields: acceptedOutputModes (list of MIME strings), blocking (client waits for completion), historyLength (how many prior messages to include in the response), pushNotificationConfig.

Summary

Types

t()

@type t() :: %A2aEngine.Types.MessageSendConfiguration{
  accepted_output_modes: [String.t()] | nil,
  blocking: boolean() | nil,
  history_length: non_neg_integer() | nil,
  push_notification_config: A2aEngine.Types.PushNotificationConfig.t() | nil
}

Functions

from_map(m)

@spec from_map(map()) :: {:ok, t()} | {:error, term()}

to_map(c)

@spec to_map(t()) :: map()