Llm Message Streamer
Framework-agnostic interface for streaming LLM inference.
Streaming counterpart of LlmMessageSender. Implementations handle the actual LLM communication (Spring AI, LangChain4j, etc.). The original stream contract remains the single abstract method for source and binary compatibility. The new streamInference method exposes the assembled terminal message required by an Embabel-owned streaming tool loop.
Key Differences from Non-Streaming:
Emits content incrementally, followed by the assembled assistant message
Does not execute tools; ToolLoop remains under Embabel's control
Provider adapters are responsible for assembling partial tool-call fragments
See also
for non-streaming equivalent
Functions
Stream one inference without delegating tool execution to the provider.