ACTIVITY is a role in the protocol's own message model, not an invention here: an ACTIVITY_SNAPSHOT stream is addressed by a message id of its own and does not belong to the assistant's turn.
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)