Skip to main content

MIN_MESSAGE_ID_LENGTH

Constant MIN_MESSAGE_ID_LENGTH 

Source
pub const MIN_MESSAGE_ID_LENGTH: usize = 36;
Expand description

The smallest bound message.id may be held to: the length of a hyphenated UUID.

A2A requires messageId on every message, and a v4 UUID is what this SDK’s own documentation tells a caller to use — Message::id’s rustdoc says so, and every example does it. 36 characters is therefore not a preference, it is the smallest id a conformant client actually sends.