Type Alias LlmResponseStream
Source pub type LlmResponseStream = Pin<Box<dyn Stream<Item = Result<LlmResponse, AdkError>> + Send>>;
Expand description
Core traits and types.
Always available regardless of feature flags. Includes:
Agent - The fundamental trait for all agents
Tool / Toolset - For extending agents with capabilities
Session / State - For managing conversation context
Event - For streaming agent responses
AdkError / Result - Unified error handling
A pinned, boxed stream of LlmResponse results from a model.
pub struct LlmResponseStream { }