Skip to content

Add group chat thread retrieval - #8305

Open
dhairya (dhairyajangir) wants to merge 1 commit into
microsoft:mainfrom
dhairyajangir:fix/group-chat-get-thread
Open

dhairya (dhairyajangir) wants to merge 1 commit into
microsoft:mainfrom
dhairyajangir:fix/group-chat-get-thread

Conversation

@dhairyajangir

Copy link
Copy Markdown

Summary

  • add a public BaseGroupChat.get_thread() method for retrieving the current group chat message thread
  • add GroupChatGetThread / GroupChatGetThreadResponse RPC messages handled by BaseGroupChatManager
  • cover both embedded and external runtime modes in test_group_chat.py

Closes #6085

Tests

  • python -m pytest packages/autogen-agentchat/tests/test_group_chat.py::test_round_robin_group_chat_get_thread -q
  • poe -C packages/autogen-agentchat lint
  • poe -C packages/autogen-agentchat pyright
  • poe -C packages/autogen-agentchat mypy

@dhairyajangir

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

@dhairyajangir

Copy link
Copy Markdown
Author

Eric Zhu (@ekzhu)

@dhairyajangir

Copy link
Copy Markdown
Author

Before further work on this PR, could you confirm whether the public BaseGroupChat.get_thread() API for #6085 is still in scope? The current README says AutoGen is in maintenance mode and will not receive new features or enhancements.

This PR adds a public API and RPC messages, so I do not want to assume the older open issue establishes an exception. If a narrower compatibility or documentation fix would be appropriate instead, please let me know the preferred scope. I will hold further implementation changes pending that guidance.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Get current message thread from a group chat team.

1 participant