Skip to content

MAINT: Remove deprecated WebsocketTarget.cleanup_conversation_async (due in 1.3.0) #4396

Open

Description

@romanlutz

WebsocketTarget.cleanup_conversation_async is a deprecated wrapper around reset_conversation_async. Calling it prints a deprecation warning that says it will be removed in 1.3.0. main is at 1.3.0.dev0, so it has to go before the release.

What to change

RealtimeTarget has the same wrapper; that one is tracked in a separate issue, so please leave it out of this PR.

Done when

  • WebsocketTarget has no cleanup_conversation_async method and reset_conversation_async is unchanged.
  • Unit tests and pre-commit pass.

How to contribute

  • Claim it first. Before you start, comment on this issue to say you are taking it.
  • First comment wins. If yours is the first claim comment, go ahead and open a PR; you do not need to wait for a reply. If someone has already commented, this issue is taken, so please pick a different one.
  • Link this issue in your PR description.

Activity

  1. khushi-git-7 commented on Nov 18, 2026

    @khushi-git-7
    Contributor

    I'm taking this one: removing WebsocketTarget.cleanup_conversation_async and its test, keeping cleanup_target_async, and leaving RealtimeTarget to #4395.

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

Metadata

Metadata

Labels

help wantedExtra attention is needed

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions