mirror of
https://github.com/microsoft/autogen.git
synced 2026-04-20 03:02:16 -04:00
Factors out RunContext management into separate classes: * Defines a LifecycleObject abstraction to manage initialization / deinitialization * Defines RunContextStack to enable a stack of init/deinit layers * Defines a RunManager to own ensuring proper semantics for performing a "single execution at a time" call while enabling a polymorphic base. Implements Reset Closes #5799 Unblocks #5800 (needs RunContext refactor too)