Packages
A well-typed, idiomatic Gleam client for Anthropic's Claude API with streaming support and tool use
Current section
Files
Jump to
Current section
Files
include/anthropic@streaming@handler_StreamingState.hrl
-record(streaming_state, {
sse_state :: anthropic@internal@sse:sse_parser_state(),
events :: list(anthropic@streaming:stream_event()),
completed :: boolean(),
error :: gleam@option:option(anthropic@streaming@handler:stream_error())
}).