Streams messages from a model using AWS Bedrock Converse API format.
Bearer token authentication. Use your provider API key or Bifrost authentication token.
Virtual keys (prefixed with sk-bf-) can also be passed here.
Model ID (e.g., anthropic.claude-3-sonnet-20240229-v1:0)
Array of messages for the conversation
System messages/prompts
Model-specific parameters
Successful streaming response
Flat structure for streaming events matching actual Bedrock API response
For messageStart events
For content block events
For messageStop events
Raw bytes for legacy invoke stream. Multiple chunks are needed when a single Bifrost event maps to multiple Anthropic SSE events (e.g., Completed → message_delta + message_stop).