Skip to documentation
SLOP

tiny.acp.Overflow

Reference tiny.acp Overflow

Defined in protocol.

Records what a reply kept when one more chunk would have passed a limit, and which update the client left out, so the caller tells a cut reply from a whole one and sees where the reply stopped.

API (4)

Fields and members

Public fields and members.

No direct callersNo direct callsprotocolOverflow
Static calls · unresolved targets: unknown · external targets: unknown.

Source

Source: lib/acp/src/protocol.zig:437

zig
/// Records what a reply kept when one more chunk would have passed a limit, and which update the/// client left out, so the caller tells a cut reply from a whole one and sees where the reply/// stopped. The client sets this record at most once per prompt, and the reply stops taking text/// after it. `PromptResult.overflow` carries the record. The fields name the limit reached, the/// reply bytes and chunks kept before the limit, and the update sequence of the first chunk left/// out.pub const Overflow = struct {    /// The limit the reply reached.    kind: OverflowKind,    /// The reply bytes kept before the limit.    admitted_bytes: usize,    /// The chunks kept before the limit.    admitted_segments: usize,    /// The update sequence of the first chunk left out of the reply. The observer still received    /// that update.    withheld_update_sequence: u64,};

Source: lib/acp/src/root.zig:83

zig
pub const Overflow = protocol.Overflow;

Audit

Definitions1
Public names2
Members4
Version26.7.0
Revisiondaab053ee433