MingaAgent.InferenceRoute.Message (minga_sdk v0.1.0)

Copy Markdown View Source

One conversation message sent to a route. The system prompt travels in Request.system.

This is a compile-time stub.

Summary

Types

part()

@type part() ::
  {:text, String.t()}
  | {:image, media_type :: String.t(), data :: binary()}
  | {:thinking, String.t(), signature :: String.t() | nil}
  | {:tool_call, MingaAgent.InferenceRoute.ToolCall.t()}
  | {:tool_result, id :: String.t(), [part()], is_error :: boolean()}

role()

@type role() :: :user | :assistant | :tool

t()

@type t() :: %MingaAgent.InferenceRoute.Message{content: [part()], role: role()}