Skip to content

Gateway: malformed or unknown message content parts are silently dropped (same class as #5541's tool/limit decoders) #5599

Open

Description

@joelteply

After #5541 (f2a3600) every request field goes through shared checked decoders, but message CONTENT parts still drop malformed or unknown blocks silently: chat.rs user_content, responses.rs content, anthropic.rs part. Some drops are deliberate (prior thinking blocks); each must become an explicit, typed decision per block kind: accepted, translated, deliberately elided (named in docs/architecture/DRIVER-GATEWAY.md), or refused with the block named. Test each kind per format.

Owner: Fable.

🤖 Generated with Claude Code

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions