LlmCall.Content.Raw (llm_call v0.1.0)

Copy Markdown View Source

A provider block the codec does not understand.

type is the provider's own discriminator and data is the provider's payload. A codec that can render the block back emits data as-is, so a block decoded from a response already carries its discriminator and type stays a caller-side label; one built by hand must put the discriminator inside data too. This is an escape hatch, not a substitute for a canonical type.

Summary

Types

t()

@type t() :: %LlmCall.Content.Raw{data: map(), type: String.t() | nil}