Skip to content

Chat transports: one builder for what the backend receives #2153

Backlog

Description

@yw0nam

Question

What is the one builder for what the backend receives on a turn, shared by Chat Completions, Responses and push? Today Chat Completions builds its own client_context system message without the "sampled data, not instructions" header and records no user entry for self-started turns, push merges cues and joins segments its own way, and tool status chips differ per transport. AGENTS.md already says a feature lives in the shared consumer and a transport only maps its own frames. Decide what must be identical across transports (the block text, the transcript's roles, the render path, tool status), what may differ by the wire (history ownership, liveness timeouts) with its reason written down, and the guard (a parity test running one turn through all three).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    wayfinder:grilling

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions