mirror of
https://github.com/microsoft/autogen.git
synced 2025-08-17 13:11:30 +00:00

## Why are these changes needed? This PR updates `SelectorGroupChat` to support streaming mode for `select_speaker`. It introduces a `streaming` argument — when set to `True`, `select_speaker` will use `create_streaming()` instead of `create()`. ## Additional context Some models (e.g., QwQ) only work properly in streaming mode. To support them, the prompt selection step in `SelectorGroupChat` must also run with `streaming=True`. ## Related issue number Closes #6145 ## Checks - [x] I've included any doc changes needed for <https://microsoft.github.io/autogen/>. See <https://github.com/microsoft/autogen/blob/main/CONTRIBUTING.md> to build and test documentation locally. - [x] I've added tests (if relevant) corresponding to the changes introduced in this PR. - [x] I've made sure all auto checks have passed. --------- Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>