Skip to main content

MAX_INLINE_DATA_SIZE

Constant MAX_INLINE_DATA_SIZE 

Source
pub const MAX_INLINE_DATA_SIZE: usize = _; // 10_485_760usize
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 Maximum allowed size for inline binary data (10 MB). Prevents accidental or malicious embedding of oversized payloads in Content parts.