CouncilEx.StreamChunk (CouncilEx v0.1.0)

Copy Markdown View Source

A single token chunk emitted during streaming.

Summary

Types

finish_reason()

@type finish_reason() :: nil | :stop | :length | :tool_calls | :content_filter

t()

@type t() :: %CouncilEx.StreamChunk{
  content: String.t(),
  finish_reason: finish_reason(),
  index: non_neg_integer()
}