Skip to main content

TRACE_LINE_LIMIT

Constant TRACE_LINE_LIMIT 

Source
pub const TRACE_LINE_LIMIT: usize = _ /* 16_384usize */;
Available on crate feature tool-loop only.
Expand description

The most bytes of one trace line: name, arguments and result together.

The result goes whole to the model, which a context window bounds; the trace is a record for the caller, and with no bound a large result made every GetTask body as large and, past the 16 MiB event limit, failed a run that had finished (hostile campaign, wave 2, W2-LIVE-4). A longer line is cut on a character boundary and says how much it lost.