Expand description
Core traits and types.
Always available regardless of feature flags. Includes:
Structs§
- Event
- Event represents a single interaction in a conversation. This struct embeds LlmResponse to match ADK-Go’s design pattern.
- Event
Actions - Actions to apply as side effects of an event.
- Event
Compaction - Metadata for a compacted (summarized) event. When context compaction is enabled, older events are summarized into a single compacted event containing this metadata.
- Tool
Call View - A typed, borrowed view of a single tool call carried by an
Event. - Tool
Result View - A typed, borrowed view of a single tool result carried by an
Event.
Constants§
- KEY_
PREFIX_ APP - Key prefix for application-scoped state (persists across sessions).
- KEY_
PREFIX_ TEMP - Key prefix for temporary state (cleared each turn).
- KEY_
PREFIX_ USER - Key prefix for user-scoped state (persists across sessions).
- TOOL_
PROGRESS_ CALL_ ID_ KEY - Event-level
provider_metadatakey carrying the originating tool’s function-call id on a tool-progress event. - TOOL_
PROGRESS_ STREAM_ KEY - Event-level
provider_metadatakey marking a tool-progress event and naming its output stream (e.g."stdout","stderr"). Present only on events produced byToolContext::emit_progress.
Functions§
- event_
belongs_ to_ branch - Whether an event is visible from a given conversation branch.