Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContinuationShape ¶
ContinuationShape reports whether an output schema exposes continuation hints via nextRange with bytes and/or lines support.
func HasOutputContinuation ¶
func HasOutputContinuation(s any) (bool, ContinuationShape)
HasOutputContinuation returns true when the output schema contains a continuation object with a nextRange that includes either bytes or lines sub-objects having integer-typed fields.
type RangeInputs ¶
RangeInputs reports whether an input schema accepts byte or line ranges.
func HasInputRanges ¶
func HasInputRanges(s any) (bool, RangeInputs)
HasInputRanges returns true when the input schema exposes any range selectors to request specific content windows. It checks common shapes: byteRange (from/to), bytesRange (offsetBytes/lengthBytes) and lineRange (startLine/lineCount).
Click to show internal directories.
Click to hide internal directories.