withUsed method

ContextWindow withUsed(
  1. int used
)

Returns a copy with updated used count.

Implementation

ContextWindow withUsed(int used) =>
    ContextWindow(maxInput: maxInput, maxOutput: maxOutput, used: used);