Packages

Elixir client for the Anthropic Messages API — typed content blocks, native tool use, streaming, retries.

Current section

Files

Jump to
anthropic_community lib anthropic messages stream_event content_block_stop.ex
Raw

lib/anthropic/messages/stream_event/content_block_stop.ex

defmodule Anthropic.Messages.StreamEvent.ContentBlockStop do
@moduledoc "Marks the content block at `index` as complete."
defstruct [:index]
@type t :: %__MODULE__{index: non_neg_integer()}
end