mirror of
https://github.com/microsoft/autogen.git
synced 2025-07-19 15:01:52 +00:00

The initializer for ACADynamicSessionsCodeExecutor creates a new GUID to use as the session ID for dynamic sessions. In some scenarios it is desirable to be able to re-create the agent group chat from saved state. In this case, the ACADynamicSessionsCodeExecutor needs to be associated with a previous instance (so that any execution state is still valid) This PR adds a new argument to the initializer to allow a session ID to be passed in (defaulting to the current behaviour of creating a GUID if absent). Closes #6119 --------- Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>