Skip to main content

DEFAULT_MAX_MESSAGE_SIZE

Constant DEFAULT_MAX_MESSAGE_SIZE 

Source
pub const DEFAULT_MAX_MESSAGE_SIZE: usize = _ /* 65_536usize */;
Expand description

The largest steering message, in bytes of its JSON, unless SteeringConfig::with_max_message_size says otherwise.

64 KiB holds a long instruction and a few data parts. A steering message is read by a model between steps, so one past this is a document, and a document belongs in a task of its own. It is also what a message costs in the store when it is handed to another replica.