contextLength property

  1. @TagNumber.new(6)
int get contextLength

The one load knob every on-device runtime exposes. Unset or 0 means "take it from the model" (llama.cpp --ctx-size semantics) -- never a hardcoded small default. Carried by the native load ABI.

Implementation

@$pb.TagNumber(6)
$core.int get contextLength => $_getIZ(5);
  1. @TagNumber.new(6)
set contextLength (int value)

Implementation

@$pb.TagNumber(6)
set contextLength($core.int value) => $_setSignedInt32(5, value);