Skip to content

Defer maybe_redact to flush_chunks() boundary #641

@bug-ops

Description

@bug-ops

Parent: #621

crates/zeph-core/src/agent/streaming.rs:495maybe_redact allocates per SSE chunk when redaction is enabled. Defer to flush_chunks() to reduce N allocations to 1 per turn.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions