Skip to content

Need to remove subscriptions given agent_type, when clients with the agent_type disconnects #3628

@ekzhu

Description

@ekzhu

What happened?

In Python distributed runtime, when a worker runtime disconnects and a new worker runtime connects and register the same agent_type, there will be conflicting subscriptions from the previous connection.

What did you expect to happen?

In distributed agent runtime, the host servicer's SubscriptionManager should support a way to remove subscriptions when clients with the agent_type disconnects.

How can we reproduce it (as minimally and precisely as possible)?

  1. Run host,
  2. Run worker 1
  3. Disconnect worker 1
  4. Run worker 2 but register the same agent types in worker 1

AutoGen version

dev

Which package was this bug in

Core

Model used

No response

Python version

No response

Operating system

No response

Any additional info you think would be helpful for fixing this bug

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions