feat: Add get_thread method to BaseGroupChat (Issue #6085) - #8023
Open
Shotsan (shotsan) wants to merge 1 commit into
Open
feat: Add get_thread method to BaseGroupChat (Issue #6085)#8023Shotsan (shotsan) wants to merge 1 commit into
Shotsan (shotsan) wants to merge 1 commit into
Conversation
Author
|
@microsoft-github-policy-service agree [company=""] |
Author
|
@microsoft-github-policy-service agree |
Shotsan (shotsan)
force-pushed
the
feature/issue-6085-get-thread
branch
from
August 5, 2026 18:55
58f7233 to
6e2a934
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes #6085
This PR implements the
get_threadmethod forBaseGroupChatas requested in #6085.Changes:
GroupChatGetThreadrequest event andGroupChatThreadResponseto properly encapsulate the message list as a serializable Pydantic model. This resolves type-checking issues whereautogen_core's@rpcvalidator natively rejects rawListreturn signatures.handle_get_threadRPC handler toBaseGroupChatManager.get_threadtoBaseGroupChat. Included startup and shutdown lifecycle management of the embedded runtime to ensure the event loop is active when the method intercepts the request.test_round_robin_group_chat_get_threadand verified bothsingle_threadedandembeddedconfigurations.