Skip to content

[Bug]: Handle CTRL+C gracefully #3156

Closed
@r4881t

Description

@r4881t

Describe the bug

When an agent is running and you press CTRL+C (SIGINT) it doesn't stop.

Steps to reproduce

  1. Start an agent.
  2. Add a tool to it such that the tool goes into an infinite loop (or a very long loop which would ensure you have enough time to press CTRL+C).
  3. Press ctrl+c. Note that nothing happens

Model Used

any model

Expected Behavior

It should shut down Autogen processing

Screenshots and logs

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.2Issues which are related to the pre 0.4 codebaseneeds-triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions