Skip to content

Support client.messages.stream() context-manager helper #10

Description

@iamfaham

Context. client.messages.stream() (the Anthropic context-manager streaming helper, distinct from messages.create(stream=True)) is not yet intercepted by PatchSet. All other Anthropic/OpenAI streaming paths are covered.

Proposed. Add a patch for the MessageStreamManager/MessageStream context-manager path with the same recording-tee approach used elsewhere, plus replay support.

Source: internal backlog (documented limitation, not yet closed).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions